This website requires JavaScript.
Merak
Explore
About Axiomatrix Org.
Sign In
Axiomatrix_Org
/
optimized_go_tools
Watch
2
Star
0
Fork
0
You've already forked optimized_go_tools
Code
Issues
Pull Requests
Actions
Packages
repo.project_board
Releases
Wiki
Activity
ae889abd1d
Branches
Tags
No results found.
optimized_go_tools
/
am_docs
/
cors.md
KynixInHK
d3e287819e
第一次试运行
2024-07-08 11:14:19 +08:00
158 B
Raw
Blame
History
Unescape
Escape
Cors
解决跨域问题的Cors中间件
,
适用于gin框架。
使用方法
gin
.
SetMode
(
gin
.
DebugMode
)
r
:=
gin
.
Default
()
r
.
Use
(
cors
.
Cors
())