From: Evan You Date: Thu, 6 Apr 2023 04:46:19 +0000 (+0800) Subject: chore: enable cors for sfc as temporary fix X-Git-Tag: v3.3.0-alpha.9~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c022ccb01727378f89d28b27da237b8a0bd894e;p=thirdparty%2Fvuejs%2Fcore.git chore: enable cors for sfc as temporary fix --- diff --git a/packages/sfc-playground/public/_headers b/packages/sfc-playground/public/_headers deleted file mode 100644 index 9079d85b36..0000000000 --- a/packages/sfc-playground/public/_headers +++ /dev/null @@ -1,3 +0,0 @@ -/assets/* - cache-control: max-age=31536000 - cache-control: immutable diff --git a/packages/sfc-playground/vercel.json b/packages/sfc-playground/vercel.json new file mode 100644 index 0000000000..b33ffef731 --- /dev/null +++ b/packages/sfc-playground/vercel.json @@ -0,0 +1,8 @@ +{ + "headers": [ + { + "source": "/(.*).js", + "headers": [{ "key": "Access-Control-Allow-Origin", "value": "*" }] + } + ] +}