chore(frontend): remove stale dashboard redirect and sample API route
This commit is contained in:
parent
656d8de788
commit
35e1354043
2 changed files with 0 additions and 17 deletions
|
|
@ -1,5 +0,0 @@
|
||||||
import { redirect } from "next/navigation";
|
|
||||||
|
|
||||||
export default function DashboardPage() {
|
|
||||||
redirect("/");
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
import configPromise from "@payload-config";
|
|
||||||
import { getPayload } from "payload";
|
|
||||||
|
|
||||||
export const GET = async (request: Request) => {
|
|
||||||
const payload = await getPayload({
|
|
||||||
config: configPromise,
|
|
||||||
});
|
|
||||||
|
|
||||||
return Response.json({
|
|
||||||
message: "This is an example of a custom route.",
|
|
||||||
});
|
|
||||||
};
|
|
||||||
Loading…
Reference in a new issue