diff --git a/main.js b/main.js index 2d668ce..1475b01 100644 --- a/main.js +++ b/main.js @@ -1,5 +1,5 @@ // Modules to control application life and create native browser window -const { app, BrowserWindow, dialog } = require('electron'); +const { app, BrowserWindow } = require('electron'); const path = require('path'); const serve = require('electron-serve'); const loadURL = serve({ directory: 'public' }); @@ -30,7 +30,7 @@ function createWindow() { // This block of code is intended for development purpose only. // Delete this entire block of code when you are ready to package the application. if (isDev()) { - mainWindow.loadURL('http://localhost:5000/'); + mainWindow.loadURL('http://localhost:8080/'); } else { loadURL(mainWindow); } @@ -75,4 +75,4 @@ app.on('activate', function () { if (mainWindow === null) createWindow() }); // In this file you can include the rest of your app's specific main process -// code. You can also put them in separate files and require them here. +// code. You can also put them in separate files and require them here. \ No newline at end of file