diff --git a/main.js b/main.js index adc6ca2..33c0460 100644 --- a/main.js +++ b/main.js @@ -23,7 +23,7 @@ function createWindow() { }); win.setMenu(null); - win.loadURL('http://localhost:3000'); + win.loadURL('http://localhost:54322'); } ipcMain.on("win:minimize", () => win.minimize()); diff --git a/package.json b/package.json index 014b838..39f6a9d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "tsc", "start": "tsc && node server.js", - "electron": "electron ." + "electron": "tsc && electron ." }, "keywords": [], "author": "", diff --git a/server.js b/server.js index 34a4f17..6849693 100644 --- a/server.js +++ b/server.js @@ -87,8 +87,8 @@ const start = async () => { await loadExtensions(); - await fastify.listen({ port: 3000, host: '0.0.0.0' }); - console.log(`Server running at http://localhost:3000`); + await fastify.listen({ port: 54322, host: '0.0.0.0' }); + console.log(`Server running at http://localhost:54322`); startCppScraper();