forked from posecode-dev/posecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
23 lines (23 loc) · 857 Bytes
/
Copy pathvercel.json
File metadata and controls
23 lines (23 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": "vite",
"installCommand": "npm install",
"buildCommand": "npm run build -w playground",
"outputDirectory": "playground/dist",
"redirects": [
{
"source": "/:path*",
"has": [{ "type": "host", "value": "posecode.org" }],
"destination": "https://www.posecode.org/:path*",
"permanent": true
},
{ "source": "/index.html", "destination": "/", "permanent": true },
{ "source": "/play.html", "destination": "/play", "permanent": true },
{ "source": "/for-products.html", "destination": "/for-products", "permanent": true }
],
"rewrites": [
{ "source": "/play", "destination": "/play.html" },
{ "source": "/play/:movement", "destination": "/play.html" },
{ "source": "/for-products", "destination": "/for-products.html" }
]
}