Commit 4964d388 authored by 王英豪's avatar 王英豪

测试环境

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