mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-19 10:46:48 +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.")) {
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue