app port changed
This commit is contained in:
2
main.js
2
main.js
@@ -23,7 +23,7 @@ function createWindow() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
win.setMenu(null);
|
win.setMenu(null);
|
||||||
win.loadURL('http://localhost:3000');
|
win.loadURL('http://localhost:54322');
|
||||||
}
|
}
|
||||||
|
|
||||||
ipcMain.on("win:minimize", () => win.minimize());
|
ipcMain.on("win:minimize", () => win.minimize());
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"start": "tsc && node server.js",
|
"start": "tsc && node server.js",
|
||||||
"electron": "electron ."
|
"electron": "tsc && electron ."
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|||||||
@@ -87,8 +87,8 @@ const start = async () => {
|
|||||||
|
|
||||||
await loadExtensions();
|
await loadExtensions();
|
||||||
|
|
||||||
await fastify.listen({ port: 3000, host: '0.0.0.0' });
|
await fastify.listen({ port: 54322, host: '0.0.0.0' });
|
||||||
console.log(`Server running at http://localhost:3000`);
|
console.log(`Server running at http://localhost:54322`);
|
||||||
|
|
||||||
startCppScraper();
|
startCppScraper();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user