Commit 2a28eeaa authored by 王英豪's avatar 王英豪

域名

parent 9f92b6bc
...@@ -22,7 +22,7 @@ print(ENV_PROFILE) ...@@ -22,7 +22,7 @@ print(ENV_PROFILE)
if ENV_PROFILE == "SERVER": if ENV_PROFILE == "SERVER":
# 生产环境地址 # 生产环境地址
ALLOWED_HOSTS = ["172.16.0.82", "127.0.0.1"] ALLOWED_HOSTS = ["172.16.0.82", "127.0.0.1", "atp.quantgroups.cn"]
# ALLOWED_HOSTS = ['*'] # ALLOWED_HOSTS = ['*']
# 配置自动化脚本日志文件的存储位置 # 配置自动化脚本日志文件的存储位置
...@@ -44,7 +44,7 @@ if ENV_PROFILE == "SERVER": ...@@ -44,7 +44,7 @@ if ENV_PROFILE == "SERVER":
# 访问资源上传的路径 # 访问资源上传的路径
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:*'] ['http://127.0.0.1:*', 'http://172.16.0.82:*', 'https://atp.quantgroups.cn:*']
) )
......
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