fix: make Express listen on localhost only (#656)

This commit is contained in:
Ethan Wong 2021-05-08 23:30:21 +08:00 committed by GitHub
parent c8adba7f13
commit cc6b364b87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ class Background {
});
});
});
this.expressApp = expressApp.listen(27232);
this.expressApp = expressApp.listen(27232, '127.0.0.1');
}
createWindow() {