feat(cms): add storage based website content management
This commit is contained in:
parent
7d5689cfa4
commit
12d31f5468
31 changed files with 1347 additions and 158 deletions
7
app/api/content/settings/route.ts
Normal file
7
app/api/content/settings/route.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { NextResponse } from "next/server";
|
||||
import { getContent } from "@/lib/content/service";
|
||||
|
||||
export async function GET() {
|
||||
const settings = await getContent("settings");
|
||||
return NextResponse.json({ settings });
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue