app port changed
This commit is contained in:
2
main.js
2
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());
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "tsc && node server.js",
|
||||
"electron": "electron ."
|
||||
"electron": "tsc && electron ."
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user