This commit is contained in:
gaoshuaixing
2023-09-05 14:44:04 +08:00
parent e54e24fadf
commit bd7e7804f1
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ module.exports = {
electron: {
directory: './',
cmd: 'electron',
args: ['.', '--env=local', '--hot-reload=1'],
args: ['.', '--env=local'],
}
},

View File

@@ -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,