modified:   next.config.js
        modified:   src/app/api/mobile/forum/[id]/preview-report-comment/route.ts

### No Issue
This commit is contained in:
2026-03-03 16:42:39 +08:00
parent 04c2e0d580
commit 2c1d74973b
2 changed files with 4 additions and 13 deletions

View File

@@ -10,6 +10,9 @@ const nextConfig = {
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true
},
webpack: (config, { isServer }) => {
if (isServer) {
config.externals = config.externals || [];
@@ -17,19 +20,6 @@ const nextConfig = {
}
return config;
},
// async headers() {
// return [
// {
// source: "/(.*)",
// headers: [
// {
// key: "Cache-Control",
// value: "no-store, max-age=0",
// },
// ],
// },
// ];
// },
};
module.exports = nextConfig;

View File

@@ -1,4 +1,5 @@
import { NextResponse } from "next/server";
import prisma from "@/lib/prisma"
export async function GET(
request: Request,