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:
@ -1,6 +1,7 @@
|
||||
const { init } = require('@sentry/electron');
|
||||
const fs = require('fs');
|
||||
const { ipcMain } = require('electron');
|
||||
|
||||
const { ipcRenderer } = require('electron')
|
||||
|
||||
let crashReportsEnabled = true;
|
||||
const DSN =
|
||||
@ -15,7 +16,7 @@ const shouldSendCallback = () => {
|
||||
};
|
||||
|
||||
|
||||
ipcMain.on('settings.changed', function (event, settings) {
|
||||
ipcRenderer.on('settings.changed', function (event, settings) {
|
||||
crashReportsEnabled = settings.crash_reports;
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user