Browse Source

chore: enable cors for sfc as temporary fix

pull/8045/head
Evan You 2 years ago
parent
commit
4c022ccb01
  1. 3
      packages/sfc-playground/public/_headers
  2. 8
      packages/sfc-playground/vercel.json

3
packages/sfc-playground/public/_headers

@ -1,3 +0,0 @@
/assets/*
cache-control: max-age=31536000
cache-control: immutable

8
packages/sfc-playground/vercel.json

@ -0,0 +1,8 @@
{
"headers": [
{
"source": "/(.*).js",
"headers": [{ "key": "Access-Control-Allow-Origin", "value": "*" }]
}
]
}
Loading…
Cancel
Save