Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

配置可信域名后前端依旧提升跨域不能访问 #38

Closed
fcwys opened this issue Jun 7, 2022 · 2 comments
Closed

配置可信域名后前端依旧提升跨域不能访问 #38

fcwys opened this issue Jun 7, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@fcwys
Copy link

fcwys commented Jun 7, 2022

前端控制台信息:
image

后端配置:
image

@qwqcode qwqcode added the bug Something isn't working label Jun 7, 2022
@qwqcode
Copy link
Member

qwqcode commented Jun 7, 2022

已修复,发布补充更新 v2.1.9/60ed699:升级文档

@qwqcode qwqcode closed this as completed Jun 7, 2022
@qwqcode
Copy link
Member

qwqcode commented Jun 8, 2022

但是非常不建议将 trusted_domains 设置为 '*' 无限制,因为这会导致 CSRF 攻击隐患

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants