ReplaceGoogleCDN icon indicating copy to clipboard operation
ReplaceGoogleCDN copied to clipboard

关于跨域的问题

Open zsedcbm opened this issue 6 years ago • 2 comments

我在访问 https://projectlombok.org/ 的时候,出现错误提示 Redirect from 'https://ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.11.2/jquery.min.js' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. 请问这个问题能通过插件内部解决吗?

zsedcbm avatar Oct 30 '18 01:10 zsedcbm

是 SRI 的安全策略导致的,理论上可以解决

justjavac avatar Oct 30 '18 04:10 justjavac

现在可以解决了哈

参考https://github.com/justjavac/ReplaceGoogleCDN/issues/101

jingjingxyk avatar Oct 06 '22 06:10 jingjingxyk