Skip to content

Commit

Permalink
add html rewrites
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh committed Feb 13, 2024
1 parent 837edb0 commit 93e73fe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion example/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@
"installCommand": "pnpm install",
"buildCommand": "pnpm turbo run generate",
"outputDirectory": ".contented/.preview/out/",
"rewrites": [{ "source": "/", "destination": "/contented/about" }]
"rewrites": [
{ "source": "/", "destination": "/contented/about.html" },
{
"source": "/:path*",
"destination": "/:path*.html"
}
]
}

0 comments on commit 93e73fe

Please sign in to comment.