Skip to content

Commit

Permalink
feat: Add the ability to trigger the authorization interrupt pages
Browse files Browse the repository at this point in the history
  • Loading branch information
beverloo committed Jan 2, 2025
1 parent 17c1343 commit 5dc460d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/admin/system/debug/forbidden/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright 2025 Peter Beverloo & AnimeCon. All rights reserved.
// Use of this source code is governed by a MIT license that can be found in the LICENSE file.

import { forbidden } from 'next/navigation';

/**
* Page that triggers the Next.js forbidden() page.
*/
export default function ForbiddenPage() {
return forbidden();
}
11 changes: 11 additions & 0 deletions app/admin/system/debug/not-found/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright 2025 Peter Beverloo & AnimeCon. All rights reserved.
// Use of this source code is governed by a MIT license that can be found in the LICENSE file.

import { notFound } from 'next/navigation';

/**
* Page that triggers the Next.js notFound() page.
*/
export default function NotFoundPage() {
return notFound();
}
11 changes: 11 additions & 0 deletions app/admin/system/debug/unauthorized/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright 2025 Peter Beverloo & AnimeCon. All rights reserved.
// Use of this source code is governed by a MIT license that can be found in the LICENSE file.

import { unauthorized } from 'next/navigation';

/**
* Page that triggers the Next.js unauthorized() page.
*/
export default function UnauthorizedPage() {
return unauthorized();
}

0 comments on commit 5dc460d

Please sign in to comment.