Django + Nginx + uwsgi 项目使用ajax 外部请求跨域问题:
问题描述:
Font from origin 'http://cdn.xxxx.com' has been blocked from loading by Cross-Origin Resource Sharing policy:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.xxxx.com'
is therefore not allowed access.