diff --git a/.gitignore b/.gitignore index 8b182cf..dc5bf10 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ yarn-debug.log* yarn-error.log* .env + +/dist \ No newline at end of file diff --git a/public/electron.js b/public/electron.js index fa76fbe..4e188ea 100644 --- a/public/electron.js +++ b/public/electron.js @@ -22,7 +22,7 @@ function createWindow() { }, }) - mainWindow.loadURL(isDev ? 'http://localhost:3000' : `file://${path.join(__dirname, '../build/index.html')}`) + mainWindow.loadURL(isDev ? 'http://localhost:3000' : 'https://gage-pc.eolluga.com') if (isDev) mainWindow.webContents.openDevTools({ mode: 'detach' })