Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
automatedtestplatform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
automatedtestplatform
Commits
b061eb6a
Commit
b061eb6a
authored
Nov 30, 2022
by
王英豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置
parent
9988455d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
settings.cpython-37.pyc
AutomatedTestPlatform/__pycache__/settings.cpython-37.pyc
+0
-0
settings.py
AutomatedTestPlatform/settings.py
+3
-2
No files found.
AutomatedTestPlatform/__pycache__/settings.cpython-37.pyc
View file @
b061eb6a
No preview for this file type
AutomatedTestPlatform/settings.py
View file @
b061eb6a
...
@@ -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:*
'
]
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment