Skip to content

Commit

Permalink
feat(vercel.json): add redirects for /zkapps/snarkyjs and /zkapps/sna…
Browse files Browse the repository at this point in the history
…rkyjs-reference to /zkapps/o1js and /zkapps/o1js-reference respectively to reflect the renaming of the project directories
  • Loading branch information
MartinMinkov committed Sep 4, 2023
1 parent 3a641f3 commit bd53a7a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
"cleanUrls": true,
"redirects": [
{ "source": "/en", "destination": "/" },
{ "source": "/en/:path(.*)", "destination": "/:path(.*)" }
{ "source": "/en/:path(.*)", "destination": "/:path(.*)" },
{
"source": "/zkapps/snarkyjs/:path(.*)",
"destination": "/zkapps/o1js/:path(.*)"
},
{
"source": "/zkapps/snarkyjs-reference/:path(.*)",
"destination": "/zkapps/o1js-reference/:path(.*)"
}
]
}

0 comments on commit bd53a7a

Please sign in to comment.