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

This commit is contained in:
王登辉
2021-01-19 00:46:48 +08:00
committed by GitHub
parent 3fa2535862
commit 138903cf28

View File

@@ -36,7 +36,7 @@ let httpServer;
async function startTrilium() { async function startTrilium() {
const usedPort = await port; const usedPort = await port;
const usedHost = host; const usedHost = await host;
app.set('port', usedPort); app.set('port', usedPort);
app.set('host', usedHost); app.set('host', usedHost);