mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-20 18:55:16 +08:00
Fix
This commit is contained in:
@@ -112,7 +112,7 @@ module.exports.generalSocketHandler = (socket, server) => {
|
|||||||
if (file.startsWith("index.")) {
|
if (file.startsWith("index.")) {
|
||||||
callback({
|
callback({
|
||||||
ok: true,
|
ok: true,
|
||||||
code: fsAsync.readFile(path.join(dir, file), "utf8"),
|
code: await fsAsync.readFile(path.join(dir, file), "utf8"),
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user