deskripsi: - fix next.config. - penambahan force-dynamic - new route: src/app/api/user/id/ No Issuee
28 lines
470 B
JavaScript
28 lines
470 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: false,
|
|
experimental: {
|
|
serverActions: true,
|
|
},
|
|
output: "standalone",
|
|
// eslint: {
|
|
// ignoreDuringBuilds: true,
|
|
// },
|
|
async headers() {
|
|
return [
|
|
{
|
|
source: "/(.*)",
|
|
headers: [
|
|
{
|
|
key: "Cache-Control",
|
|
value: "no-store, max-age=0",
|
|
},
|
|
],
|
|
},
|
|
];
|
|
},
|
|
|
|
};
|
|
|
|
module.exports = nextConfig;
|