|
@@ -36,8 +36,13 @@ async function createWindow() {
|
|
createProtocol('app')
|
|
createProtocol('app')
|
|
// Load the index.html when not in development
|
|
// Load the index.html when not in development
|
|
// win.loadURL('app://./index.html')
|
|
// win.loadURL('app://./index.html')
|
|
|
|
+ // 预发布地址
|
|
|
|
+ win.loadURL('http://ocs-admin.360arrow.com.cn/')
|
|
|
|
+ // win.loadURL('http://qpls-md.360arrow.com.cn/')
|
|
|
|
+ // 生产地址
|
|
// win.loadURL('http://ocs-admin.360arrow.com/')
|
|
// win.loadURL('http://ocs-admin.360arrow.com/')
|
|
- win.loadURL('http://qpls-md.360arrow.com/')
|
|
|
|
|
|
+ // win.loadURL('http://qpls-md.360arrow.com/')
|
|
|
|
+ // 开发地址
|
|
// win.loadURL('http://localhost:8000/')
|
|
// win.loadURL('http://localhost:8000/')
|
|
}
|
|
}
|
|
// 在开发环境和生产环境均可通过快捷键打开devTools
|
|
// 在开发环境和生产环境均可通过快捷键打开devTools
|