主进程支持file://

This commit is contained in:
gaoshuaixing
2023-06-12 18:35:48 +08:00
parent adbfe041f1
commit 54e6c228d5

View File

@@ -132,6 +132,8 @@ module.exports = (appInfo) => {
* 主进程
*/
config.mainServer = {
protocol: 'http://',
indexPath: '/public/dist/index.html',
host: 'localhost',
port: 7072,
};