Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
api-service-gateway
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
朱允伟
api-service-gateway
Commits
48b94e69
Commit
48b94e69
authored
Oct 15, 2021
by
李欣峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master'
parents
f9f969a5
9860fc86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
api-service-gateway/src/main/resources/bootstrap.yml
api-service-gateway/src/main/resources/bootstrap.yml
+41
-0
No files found.
api-service-gateway/src/main/resources/bootstrap.yml
0 → 100644
View file @
48b94e69
server
:
port
:
10008
spring
:
application
:
name
:
api-service-gateway
cloud
:
gateway
:
globalcors
:
cors-configurations
:
'
[/**]'
:
# 允许跨域的源(网站域名/ip),设置*为全部
# 允许跨域请求里的head字段,设置*为全部
# 允许跨域的method, 默认为GET和OPTIONS,设置*为全部
allow-credentials
:
true
allowed-origins
:
"
*"
allowed-headers
:
"
*"
allowed-methods
:
-
OPTIONS
-
GET
-
POST
-
DELETE
-
PUT
-
PATCH
max-age
:
3600
api-service-address
:
path
:
/v1/apiService/**
uri
:
http://192.168.70.46:6725
url
:
http://192.168.70.46:6725/v1/dataService/api/getApiLimit
cloud
:
gateway
:
default-filters
:
-
DedupeResponseHeader=Access-Control-Allow-Origin, RETAIN_UNIQUE
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