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

字体出现跨域请求 #354

Closed
falltodis opened this issue Sep 28, 2015 · 10 comments
Closed

字体出现跨域请求 #354

falltodis opened this issue Sep 28, 2015 · 10 comments

Comments

@falltodis
Copy link

Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin'
字体在cdn上,能不能放到项目中去呢。

@afc163
Copy link
Member

afc163 commented Sep 29, 2015

什么环境,各种项目使用应该都是没问题的。

@falltodis
Copy link
Author

生成环境啊,字体域是 alicdn 其他的js css资源走的是项目域名

@falltodis
Copy link
Author

生产

@afc163
Copy link
Member

afc163 commented Sep 29, 2015

没有问题的。

@zhbhun
Copy link

zhbhun commented Oct 8, 2015

生产环境在内网的时候不能使用 alicdn, 建议在项目中提供字体文件, 在 alicdn 上也可以提供 antd 的 css 文件, 类似于 bootstrap, 这样更方便使用.

@Tinker404
Copy link

同出现这个情况。。。

@afc163
Copy link
Member

afc163 commented Nov 2, 2015

www.iconfont.cn 的 cdn 问题,可以到官方网站右下角进行反馈。

@afc163 afc163 closed this as completed Nov 2, 2015
@jeffycai
Copy link

@falltodis ,如果在内网环境下,最终怎么解决的呢。

@afc163
Copy link
Member

afc163 commented Sep 13, 2016

#1070

@lock
Copy link

lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants