fix: admin forum
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
This commit is contained in:
@@ -5,23 +5,23 @@ const nextConfig = {
|
||||
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",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
},
|
||||
|
||||
// async headers() {
|
||||
// return [
|
||||
// {
|
||||
// source: "/(.*)",
|
||||
// headers: [
|
||||
// {
|
||||
// key: "Cache-Control",
|
||||
// value: "no-store, max-age=0",
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// ];
|
||||
// },
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user