fix: ensure API routes and RootLayout render dynamically in production to apply color scheme and settings updates in real time

This commit is contained in:
Rio
2026-06-18 14:54:32 +07:00
parent 433e6dfc6c
commit 80e999101f
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -1,6 +1,8 @@
import { NextResponse } from 'next/server';
import { prisma } from '@/lib/db';
export const dynamic = 'force-dynamic';
export async function GET() {
try {
const routes = await prisma.route.findMany({