-
-
Notifications
You must be signed in to change notification settings - Fork 613
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
静态资源加载失败 #317
Comments
请求域名是反代的吗? |
用了CDN,不是反代,直接本地hosts映射,HTTPS正常,加上CDN就不行 |
应该是 cdn 的问题,估计与 cdn 返回的 headers 有关,但是你可以强行指定静态资源域名,编辑
|
好的,我试试 |
忘了...静态资源变成 https 了,但是接口域名还是 http 的。那你只能修改代码了。 lsky-pro/app/Providers/AppServiceProvider.php Lines 31 to 52 in 6d0631b
第 32 行下面追加一行: |
好的,谢谢 |
经过测试可以了,希望下个版本修复下呢,辛苦! |
我也遇到了跨域问题,使用此方法解决了 |
我是设置了反向代理后,https访问后,网页无法正常浏览,使用此方法设置后,https访问正常了。感谢!!! |
bug还没解决吗? |
我添加代码,但是没有反应,登陆还是乱的 |
请问我有两个域名能够同时添加吗? |
The text was updated successfully, but these errors were encountered: