mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-19 02:36:47 +02:00
Fix
This commit is contained in:
parent
ca690f943a
commit
f8e59945eb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue