Work on the config and setup
This commit is contained in:
5
index.js
5
index.js
@@ -145,7 +145,8 @@ function createWindow () {
|
||||
webPreferences: {
|
||||
contextIsolation: false,
|
||||
nodeIntegration: true,
|
||||
nodeIntegrationInWorker: true
|
||||
nodeIntegrationInWorker: true,
|
||||
enableRemoteModule: true
|
||||
}
|
||||
})
|
||||
|
||||
@@ -179,7 +180,7 @@ function createWindow () {
|
||||
let index_url = 'http://localhost/index.html';
|
||||
|
||||
if (config.native_app_index_url) {
|
||||
index_url = native_app_index_url;
|
||||
index_url = config.native_app_index_url;
|
||||
} else {
|
||||
index_url = 'https://app.oneskyit.com/native/index.html';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user