Commit fa09c4c8 authored by 王英豪's avatar 王英豪

修改配置

parent 5786c0c1
...@@ -13,8 +13,8 @@ import logging ...@@ -13,8 +13,8 @@ import logging
from pathlib import Path from pathlib import Path
import os import os
# ENV_PROFILE = os.getenv("ENV") ENV_PROFILE = os.getenv("ENV")
ENV_PROFILE = "macOS" # ENV_PROFILE = "macOS"
ENV_cmd = os.getenv("CmdRunner") ENV_cmd = os.getenv("CmdRunner")
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
...@@ -22,7 +22,6 @@ print(BASE_DIR + '/dev.cnf') ...@@ -22,7 +22,6 @@ print(BASE_DIR + '/dev.cnf')
print(ENV_PROFILE) print(ENV_PROFILE)
if ENV_PROFILE == "SERVER": if ENV_PROFILE == "SERVER":
print('woshishengchan')
# MQ相关配置, 使用uat环境的mq # MQ相关配置, 使用uat环境的mq
GROUP_ID = 'GID_prod_automated_group' GROUP_ID = 'GID_prod_automated_group'
MESSAGE_MODEL = 1 MESSAGE_MODEL = 1
...@@ -52,7 +51,7 @@ if ENV_PROFILE == "SERVER": ...@@ -52,7 +51,7 @@ if ENV_PROFILE == "SERVER":
# 访问资源上传的路径 # 访问资源上传的路径
WEB_URL = "/data/Web_Script/" WEB_URL = "/data/Web_Script/"
CORS_ALLOWED_ORIGINS = ( CORS_ALLOWED_ORIGINS = (
['https://127.0.0.1:*', 'https://172.30.100.253:*', 'http://atp.rd.com'] ['http://127.0.0.1:*', 'http://172.16.0.82:*']
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment