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

修改配置

parent 9988455d
...@@ -128,9 +128,10 @@ if ENV_PROFILE == "SERVER": ...@@ -128,9 +128,10 @@ if ENV_PROFILE == "SERVER":
elif ENV_PROFILE == "QA": elif ENV_PROFILE == "QA":
print('测试环境')
# 生产环境地址 # 生产环境地址
ALLOWED_HOSTS = ["172.16.0.82", "127.0.0.1", "lzyz-ui-td.liangkebang.net"] ALLOWED_HOSTS = ["172.16.0.82", "127.0.0.1", "lzyz-ui-td.liangkebang.net", "localhost"]
# ALLOWED_HOSTS = ['*'] # ALLOWED_HOSTS = ['*']
# 配置自动化脚本日志文件的存储位置 # 配置自动化脚本日志文件的存储位置
...@@ -152,7 +153,7 @@ elif ENV_PROFILE == "QA": ...@@ -152,7 +153,7 @@ elif ENV_PROFILE == "QA":
# 访问资源上传的路径 # 访问资源上传的路径
WEB_URL = "/home/quant_group/data/Web_Script/" WEB_URL = "/home/quant_group/data/Web_Script/"
CORS_ALLOWED_ORIGINS = ( CORS_ALLOWED_ORIGINS = (
['http://127.0.0.1:*', 'http://172.16.0.82:*', 'https://lzyz-ui-td.liangkebang.net'] ['http://127.0.0.1:*', 'http://172.16.0.82:*', 'https://doraemon-td.liangkebang.net', 'http://localhost:*']
) )
......
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