rambo 8 months ago
parent
commit
2f22074e60
2 changed files with 1 additions and 2 deletions
  1. 0 1
      python/config.ini
  2. 1 1
      python/settings.py

+ 0 - 1
python/config.ini

@@ -13,7 +13,6 @@ debug=true
 env=dev
 # 线程数
 works=1
-url_mode=dev
 project=惠利玛
 [log]
 # 日志相关

+ 1 - 1
python/settings.py

@@ -161,7 +161,7 @@ STOP = _mcu_config_dict["stop"]
 
 DOMAIN = (
     "https://dev2.valimart.net"
-    if config.get("app", "url_mode") != "dev"
+    if config.get("app", "env") != "dev"
     else "https://dev2.pubdata.cn"
 )