Parcourir la source

chore: enable cors for sfc as temporary fix

Evan You il y a 3 ans
Parent
commit
4c022ccb01

+ 0 - 3
packages/sfc-playground/public/_headers

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

+ 8 - 0
packages/sfc-playground/vercel.json

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