Skip to content

Commit 232099d

Browse files
author
ComputelessComputer
committed
add mintlify docs rewrites for vercel
1 parent 8a9976f commit 232099d

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

vercel.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,15 @@
33
"framework": "astro",
44
"installCommand": "pnpm install --frozen-lockfile",
55
"buildCommand": "pnpm --filter @philo/landing build",
6-
"outputDirectory": "apps/landing/dist"
6+
"outputDirectory": "apps/landing/dist",
7+
"rewrites": [
8+
{
9+
"source": "/docs",
10+
"destination": "https://philo.mintlify.dev/docs"
11+
},
12+
{
13+
"source": "/docs/:match*",
14+
"destination": "https://philo.mintlify.dev/docs/:match*"
15+
}
16+
]
717
}

0 commit comments

Comments
 (0)