Browse Source

添加配置

gsx 2 năm trước cách đây
mục cha
commit
fdd8d7cab6
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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,
   };