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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);