fixed linting issues

custom-head
Frank Elsinga 6 months ago
parent 2a556e714f
commit 4b0e7de3e4

@ -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,

Loading…
Cancel
Save