Skip to content

Build your personal knowledge base with Trilium Notes

fix config.ini Network host not work (#1546)

王登辉138903cf2818
diff --git a/src/www b/src/www
index e5195d6bd5..ff8728408f 100755
--- a/src/www
+++ b/src/www
@@ -36,7 +36,7 @@ let httpServer;
async function startTrilium() {
const usedPort = await port;
- const usedHost = host;
+ const usedHost = await host;
app.set('port', usedPort);
app.set('host', usedHost);