改为加载本地index文件
This commit is contained in:
parent
b49fb14e91
commit
ea6a5481ea
@ -20,8 +20,8 @@ function createWindow() {
|
||||
|
||||
// and load the index.html of the app.
|
||||
// http://h5tools.client.jy/index.html
|
||||
win.loadURL("http://127.0.0.1:12346/index.html");
|
||||
|
||||
// win.loadURL("http://127.0.0.1:12346/index.html");
|
||||
win.loadFile('../index.html')
|
||||
// Open the DevTools.
|
||||
// win.webContents.openDevTools();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user