mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
cfg
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = {
|
||||
electron: {
|
||||
directory: './',
|
||||
cmd: 'electron',
|
||||
args: ['.', '--env=local', '--hot-reload=1'],
|
||||
args: ['.', '--env=local'],
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ module.exports = (appInfo) => {
|
||||
* 主进程
|
||||
*/
|
||||
config.mainServer = {
|
||||
protocol: 'http://',
|
||||
protocol: 'file://',
|
||||
indexPath: '/public/dist/index.html',
|
||||
host: '127.0.0.1',
|
||||
port: 7072,
|
||||
|
||||
Reference in New Issue
Block a user