Commit 58733e01 authored by 王英豪's avatar 王英豪

更改地址

parent 778ef589
...@@ -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:*', 'https://172.16.0.82:*']
) )
...@@ -255,10 +255,10 @@ elif ENV_PROFILE == "macOS": ...@@ -255,10 +255,10 @@ elif ENV_PROFILE == "macOS":
# 访问资源上传的路径 # 访问资源上传的路径
WEB_URL = "/Web_Script/" WEB_URL = "/Web_Script/"
CORS_ORIGIN_WHITELIST = ( # CORS_ORIGIN_WHITELIST = (
['http://127.0.0.1:*', 'https://10.0.17.184:*'] # ['http://127.0.0.1:*', 'https://10.0.17.184:*']
#
) # )
# mysql # mysql
DATABASES = { DATABASES = {
'default': { 'default': {
......
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