diff --git a/package-lock.json b/package-lock.json index 12473f8..67ba76c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "tidal-hifi", - "version": "0.1.0", + "version": "0.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/scripts/express.js b/src/scripts/express.js index b0a51d0..d09e3b8 100644 --- a/src/scripts/express.js +++ b/src/scripts/express.js @@ -53,7 +53,7 @@ expressModule.run = function(mainWindow) { if (store.get(settings.api)) { let port = store.get(settings.apiSettings.port); - expressInstance = expressApp.listen(port, () => {}); + expressInstance = expressApp.listen(port, "127.0.0.1", () => {}); expressInstance.on("error", function(e) { let message = e.code; if (e.code === "EADDRINUSE") {