mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-11 21:26:06 +08:00
fixed linting issues
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user