Mentions légales du service

Skip to content
Snippets Groups Projects

Front

Merged VIAUD Nathan requested to merge front into main
8 files
+ 464
58
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -17,7 +17,7 @@ module.exports.createMainWindow = function () {
webPreferences: {
nodeIntegration: false,
contextIsolation: true,
preload: path.join(__dirname, 'preload.js')
preload: path.join(__dirname, '../preload.js')
}
});
@@ -25,7 +25,7 @@ module.exports.createMainWindow = function () {
mainWindow.loadURL(
isDev
? 'http://localhost:8000'
: `file://${path.join(__dirname, '../dist/index.html')}`
: `file://${path.join(__dirname, '../../dist/index.html')}`
);
mainWindow.center();
return mainWindow
Loading