Aktueller Stand
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
import { NextResponse } from "next/server";
|
import { NextResponse } from "next/server";
|
||||||
import { prisma } from "../../../../lib/prisma";
|
import { prisma } from "../../../../lib/prisma";
|
||||||
|
|
||||||
|
export const dynamic = "force-dynamic";
|
||||||
|
|
||||||
export async function GET() {
|
export async function GET() {
|
||||||
const setting = await prisma.setting.findUnique({
|
const setting = await prisma.setting.findUnique({
|
||||||
where: { key: "registration_enabled" }
|
where: { key: "registration_enabled" }
|
||||||
|
|||||||
Reference in New Issue
Block a user