mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-12 00:54:02 +08:00
fixed linting issues
This commit is contained in:
@@ -102,7 +102,7 @@ module.exports.statusPageSocketHandler = (socket) => {
|
|||||||
throw new Error("No slug?");
|
throw new Error("No slug?");
|
||||||
}
|
}
|
||||||
const config = await statusPage.toJSON();
|
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({
|
callback({
|
||||||
ok: true,
|
ok: true,
|
||||||
config,
|
config,
|
||||||
|
Reference in New Issue
Block a user