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