mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-12 20:18:09 +00:00
Fix base href for electron env
This commit is contained in:
5
main.js
5
main.js
@ -76,6 +76,7 @@ function createWindow () {
|
||||
width: 800,
|
||||
height: 600,
|
||||
webPreferences: {
|
||||
nodeIntegration: false,
|
||||
preload: path.join(__dirname, 'sentry.js')
|
||||
}
|
||||
});
|
||||
@ -117,8 +118,8 @@ function createWindow () {
|
||||
// Some APIs can only be used after this event occurs.
|
||||
app.on('ready', createWindow);
|
||||
|
||||
app.on('ready', createServerProc);
|
||||
app.on('will-quit', exitServerProc);
|
||||
// app.on('ready', createServerProc);
|
||||
// app.on('will-quit', exitServerProc);
|
||||
|
||||
// Quit when all windows are closed.
|
||||
app.on('window-all-closed', function () {
|
||||
|
Reference in New Issue
Block a user