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>
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
import PageBuilder from './components/PageBuilder';
|
||||
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() {
|
||||
return <PageBuilder />;
|
||||
redirect('/admin/pages');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user