fixed linting issues

This commit is contained in:
Frank Elsinga 2024-06-04 01:23:51 +02:00
parent 2a556e714f
commit 4b0e7de3e4

View file

@ -102,7 +102,7 @@ module.exports.statusPageSocketHandler = (socket) => {
throw new Error("No slug?");
}
const config = await statusPage.toJSON();
config.allowEditingCustomHtml = import.meta.env.UPTIME_KUMA_ALLOW_CUSTOM_HTML === '1';
config.allowEditingCustomHtml = import.meta.env.UPTIME_KUMA_ALLOW_CUSTOM_HTML === "1";
callback({
ok: true,
config,