Skip to content

Commit f7a6340

Browse files
fix: update vercel.json with version 2 and fix regex pattern
1 parent 0aae49c commit f7a6340

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

vercel.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
{
2+
"version": 2,
23
"buildCommand": "npm run build",
34
"outputDirectory": "examples/react-demo/dist",
45
"installCommand": "npm install",
5-
"framework": "vite",
66
"headers": [
77
{
8-
"source": "/(.*).wasm",
8+
"source": "/(.*)\\.wasm",
99
"headers": [
1010
{
1111
"key": "Content-Type",
1212
"value": "application/wasm"
13-
},
14-
{
15-
"key": "Cache-Control",
16-
"value": "public, max-age=31536000, immutable"
1713
}
1814
]
1915
}

0 commit comments

Comments
 (0)