Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-framework-config
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
techhero-framework-config
Commits
7c01768e
Commit
7c01768e
authored
Nov 16, 2022
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update techhero-framework-gateway-local.yml
parent
4aeaa042
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
techhero-framework-gateway-local.yml
+15
-0
No files found.
techhero-framework-gateway-local.yml
View file @
7c01768e
spring
:
cloud
:
gateway
:
globalcors
:
cors-configurations
:
'
[/**]'
:
# 允许携带认证信息
# 允许跨域的源(网站域名/ip),设置*为全部
# 允许跨域请求里的head字段,设置*为全部
# 允许跨域的method, 默认为GET和OPTIONS,设置*为全部
# 跨域允许的有效期
allow-credentials
:
true
allowed-originPatterns
:
"
*"
allowed-headers
:
"
*"
allowed-methods
:
"
*"
max-age
:
3600
http
:
multipart
:
enabled
:
true
...
...
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