From 138903cf2818a2a9d51d79a75aab6ef48b23d76a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=99=BB=E8=BE=89?= <1520667045@qq.com> Date: Tue, 19 Jan 2021 00:46:48 +0800 Subject: [PATCH] fix config.ini Network host not work (#1546) --- src/www | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www b/src/www index e5195d6bd..ff8728408 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);