我使用跨域清单文件。使用代码:
<link href='https://universalmanualapp.firebaseapp.com/manifest.json' rel='manifest'/>
但Crome显示错误:
Failed to load https://universalmanualapp.firebaseapp.com/manifest.json: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.universalmanual.com' is therefore not allowed access.
我在Index.html中添加了Access-Control-Allow-Origin
代码,但它没有用。