Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-serivce
/
glsx-config-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ae08443b
authored
Jun 19, 2020
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
白名单
1 parent
77078641
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
config/config.default.js
config/config.default.js
View file @
ae08443
...
@@ -79,7 +79,7 @@ module.exports = app => {
...
@@ -79,7 +79,7 @@ module.exports = app => {
ignoreJSON
:
true
ignoreJSON
:
true
},
},
// domainWhiteList: ["http://192.168.2.222:8085"] //允许访问接口的白名单
// domainWhiteList: ["http://192.168.2.222:8085"] //允许访问接口的白名单
domainWhiteList
:
[
"http://localhost:8085"
,
"http://192.168.2.201:8085"
]
//允许访问接口的白名单
domainWhiteList
:
[
"http://localhost:8085"
,
"http://192.168.2.201:8085"
,
"http://192.168.2.27:8085"
]
//允许访问接口的白名单
};
};
config
.
redis
=
{
config
.
redis
=
{
client
:
{
client
:
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment