feat(frontend): add a dedicated 403 forbidden page

Show /403 instead of toasting or staying on the denied screen when
the API returns 403 or a non-admin opens an admin route.
This commit is contained in:
ryan
2026-09-02 18:39:11 +08:00
parent b7e5e811d1
commit 05606dfb56
9 changed files with 129 additions and 9 deletions
+1
View File
@@ -120,6 +120,7 @@ export function proxy(request: NextRequest) {
'/privacy',
'/terms',
'/icon',
'/403',
];
const publicPrefixes = ['/docs/', '/epay/'];