Files
website/next.config.ts
2026-06-18 04:11:06 +01:00

31 lines
517 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
reactCompiler: true,
poweredByHeader: false,
turbopack: {
rules: {
"*.svg": {
loaders: ["@svgr/webpack"],
as: "*.js",
},
},
},
async headers() {
return [
{
source: "/:path*.pdf",
headers: [
{
key: "Content-Disposition",
value: "inline",
},
],
},
];
},
};
export default nextConfig;