Parcourir la source

mod:
/**
* 远程模式-web地址
*/
config.remoteUrl = {
enable: false,
url: 'http://localhost:3000/#/home'
};

panqiuyao il y a 7 mois
Parent
commit
f3f7d3e62b
2 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 1 1
      electron/config/config.default.js
  2. 7 0
      electron/config/config.prod.js

+ 1 - 1
electron/config/config.default.js

@@ -64,7 +64,7 @@ module.exports = (appInfo) => {
    * 远程模式-web地址
    */
   config.remoteUrl = {
-    enable: true,
+    enable: false,
     url: 'http://localhost:3000/#/home'
   };
 

+ 7 - 0
electron/config/config.prod.js

@@ -22,6 +22,13 @@ module.exports = (appInfo) => {
   config.jobs = {
     messageLog: false
   };
+  /**
+   * 远程模式-web地址
+   */
+  config.remoteUrl = {
+    enable: false,
+    url: 'http://localhost:3000/#/home'
+  };
 
   return {
     ...config