Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: 通过修改配置文件使得跨域白名单正常生效 #1296

Merged
merged 3 commits into from Nov 30, 2022

Conversation

andywu1998
Copy link
Contributor

解决这个issue

这个issue产生的原因是可能是(不确定用户实际怎么写的) allow-headers是配置少了一些字段。

我这次加上下面这些,白名单就能正常工作了。已经测试。

allow-headers: Content-Type,AccessToken,X-CSRF-Token, Authorization, Token,X-Token,X-User-Id

@piexlmax piexlmax merged commit 26db336 into flipped-aurora:main Nov 30, 2022
Stephen-Z pushed a commit to Stephen-Z/gin-vue-admin that referenced this pull request Jul 12, 2023
* bugfix: 通过修改配置文件使得跨域白名单正常生效

Co-authored-by: 奇淼(piexlmax <qimiaojiangjizhao@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant