removed legacy code
Massimo Melina committed
Jun 6, 2022 at 23:51 UTC
a031952aa558091dc3fc332c3004913241c375dc
1 file changed
+1
-2
server/src/config.ts
+1
-2
@@ -30,8 +30,7 @@ const path = with_(argv.config || process.env.HFS_CONFIG || PATH, p => {
30
const { save } = watchLoad(path, values => setConfig(values||{}, false), {
31
failedOnFirstAttempt(){
32
console.log("No config file, using defaults")
33
- setTimeout(() => // for consistency with asynchronous success callback (without this http server is started before the koa app is ready)
34
- setConfig({}, false) )
33
+ setConfig({}, false)
34
}
35
})
36