Skip to content

Commit

Permalink
added /quiz:id route to vercel config
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-Ainapure committed Oct 8, 2024
1 parent 735aac2 commit 1d9306c
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"rewrites": [
{
"source": "/(.*)",
"destination": "/index.html"
}
],
"builds": [
{
"src": "frontend/package.json",
Expand All @@ -7,15 +13,5 @@
"distDir": "frontend/dist"
}
}
],
"routes": [
{
"src": "/quiz/:id",
"dest": "/index.html"
},
{
"src": "/(.*)",
"dest": "/index.html"
}
]
}

0 comments on commit 1d9306c

Please sign in to comment.