如何在Wavesurfer中配置XHR选项
我正在xhr error
从Firebase存储加载mp3时
而且我还使用了免费的.tk firebase托管和自定义域
这是我的firebase.json
{
"functions": {
"predeploy": ["npm --prefix \"$RESOURCE_DIR\" run lint"]
},
"hosting": {
"public": "dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "**",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
}
]
}
],
"appAssociation": "AUTO"
}
}