Files
immich-folio/app/admin/page.tsx
Ralksta a3a6319c29 release: v0.16.0
See CHANGELOG.md for the full v0.16.0 entry.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: ralksta <ralksta@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Ralf <rohlenbo79@gmail.com>
Co-authored-by: Paul Thies <110185070+ImScheinox@users.noreply.github.com>
Co-authored-by: lancetm714 <108419425+lancetm714@users.noreply.github.com>
2026-09-22 14:12:13 +02:00

16 lines
626 B
TypeScript

import { redirect } from 'next/navigation';
/**
* `/admin` and `/admin/pages` both rendered the page builder, so the same
* screen had two addresses: two routes to keep in step, two things to find
* when something about the builder changes, and no way to tell which one a
* bookmark or a bug report meant.
*
* `/admin/pages` wins because that is what the Pages tab links to. `/admin`
* stays as the entry point people type and bookmark — and it is what the
* public diagnostic banner links to — so it redirects rather than disappearing.
*/
export default function AdminHomePage() {
redirect('/admin/pages');
}