Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我注意到,每当我访问我网站的子域(例如 www.)时,都会加载正常索引但没有任何样式。查看 Inspector 我发现:
Origin http://www.songnova.com is not allowed by Access-Control-Allow-Origin.
我该如何解决这个问题?
我尝试将 css 链接更改为“ http://songnova.com/css/main.css ”并且它有效。也许您正在使用的较少库中的问题