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

疑似跨域请求BUG #6

Open
yomunsam opened this issue Oct 7, 2019 · 1 comment
Open

疑似跨域请求BUG #6

yomunsam opened this issue Oct 7, 2019 · 1 comment

Comments

@yomunsam
Copy link

yomunsam commented Oct 7, 2019

image

在这个地方设置阿里云OSS的地址之后,图片资源正常,但是对tff,woff,woff2等文件时,浏览器会使用跨域请求

然后oss报403,

然后去问了下阿里的客服,意思是没传递Access-Control-Request-Headers HTTP头。

emmm,对Web这块不太了解,不知道是不是这边的问题,如果不是请忽略它吧

ヾ(•ω•`)o

@Bronya0
Copy link

Bronya0 commented Aug 6, 2020

是的,开启了防盗链后会导致字体文件跨域问题,这方面百度倒是有教程,不过我试了下没弄好。。。最后干脆关闭防盗链了

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

No branches or pull requests

2 participants