Browse Source

添加配置

gsx 2 years ago
parent
commit
fdd8d7cab6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      electron/config/config.default.js

+ 2 - 0
electron/config/config.default.js

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