liqian 2 years ago
parent
commit
c32d5581cc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      config.py

+ 2 - 2
config.py

@@ -859,8 +859,8 @@ class ProductionConfig(BaseConfig):
 
 def set_config():
     # 获取环境变量 ROV_OFFLINE_ENV
-    # env = os.environ.get('ROV_OFFLINE_ENV')
-    env = 'dev'
+    env = os.environ.get('ROV_OFFLINE_ENV')
+    # env = 'dev'
     if env is None:
         # log_.error('ENV ERROR: is None!')
         return