From cc6b364b8721c2e5e32676b1e15a342a3fae2b31 Mon Sep 17 00:00:00 2001 From: Ethan Wong Date: Sat, 8 May 2021 23:30:21 +0800 Subject: [PATCH] fix: make Express listen on localhost only (#656) --- src/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background.js b/src/background.js index 383fc51..aba3ee1 100644 --- a/src/background.js +++ b/src/background.js @@ -100,7 +100,7 @@ class Background { }); }); }); - this.expressApp = expressApp.listen(27232); + this.expressApp = expressApp.listen(27232, '127.0.0.1'); } createWindow() {