mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
24 lines
467 B
JavaScript
24 lines
467 B
JavaScript
const nextConfig = {
|
|
reactStrictMode: true,
|
|
webpack: (config) => {
|
|
config.resolve.alias.canvas = false;
|
|
|
|
return config;
|
|
},
|
|
// async headers() {
|
|
// return [
|
|
// {
|
|
// source: "/:path*",
|
|
// headers: [
|
|
// {
|
|
// key: "Cache-Control",
|
|
// value: "max-age=300, s-maxage=300, stale-while-revalidate, public",
|
|
// },
|
|
// ],
|
|
// },
|
|
// ];
|
|
// },
|
|
};
|
|
|
|
module.exports = nextConfig;
|