deskripsi: - perubahan dari use server menjadi API next.config.js src/app/api/admin/forum/[id]/report-komentar/route.ts src/app/api/admin/forum/[id]/report-posting/route.ts src/app/api/admin/forum/komentar/[id]/route.ts src/app/dev/admin/forum/sub-detail/report-komentar/[id]/page.tsx src/app/dev/admin/forum/sub-detail/report-posting/[id]/page.tsx src/app_modules/admin/forum/lib/api_fetch_admin_forum.ts src/app_modules/admin/forum/sub_detail/hasil_report_komentar.tsx src/app_modules/admin/forum/sub_detail/hasil_report_posting.tsx No Issue
28 lines
572 B
JavaScript
28 lines
572 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: false,
|
|
experimental: {
|
|
serverActions: true,
|
|
},
|
|
output: "standalone",
|
|
staticPageGenerationTimeout: 180, // tingkatkan menjadi 3 menit
|
|
// eslint: {
|
|
// ignoreDuringBuilds: true,
|
|
// },
|
|
// async headers() {
|
|
// return [
|
|
// {
|
|
// source: "/(.*)",
|
|
// headers: [
|
|
// {
|
|
// key: "Cache-Control",
|
|
// value: "no-store, max-age=0",
|
|
// },
|
|
// ],
|
|
// },
|
|
// ];
|
|
// },
|
|
};
|
|
|
|
module.exports = nextConfig;
|