Update server/uptime-kuma-server.js

Co-authored-by: 琚致远 / Zhiyuan Ju <juzhiyuan@apache.org>
This commit is contained in:
Louis Lam 2023-01-06 23:04:02 +08:00 committed by GitHub
parent dc8289df12
commit 21c1921867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ class UptimeKumaServer {
this.io = new Server(this.httpServer); this.io = new Server(this.httpServer);
} }
/** Initialise app after the dabase has been set up */ /** Initialise app after the database has been set up */
async initAfterDatabaseReady() { async initAfterDatabaseReady() {
await CacheableDnsHttpAgent.update(); await CacheableDnsHttpAgent.update();