소스 검색

添加配置

gsx 2 년 전
부모
커밋
fdd8d7cab6
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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,
   };