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 ”并且它有效。也许您正在使用的较少库中的问题
我正在尝试允许用户使用 Stripe 在我的应用中添加信用卡。当我调用下面的代码(来自文档:https ://stripe.com/docs/api#create_card )时,我收到以下错误。
是文档过时了还是我做错了什么?