Skip to content

Commit

Permalink
feat: redirect admin to keystatic route
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed May 3, 2024
1 parent 85e05b3 commit 2918be7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ const config = {
destination: "/curricula",
permanent: false,
},
{
source: "/admin",
destination: "/keystatic",
permanent: false,
},
];

return Promise.resolve(redirects);
Expand Down

0 comments on commit 2918be7

Please sign in to comment.