21 lines
394 B
TypeScript
21 lines
394 B
TypeScript
import type { NextConfig } from "next";
|
|||
|
|
|
||
|
|
const config: NextConfig = {
|
||
|
|
output: "standalone",
|
||
|
|
reactStrictMode: true,
|
||
|
|
poweredByHeader: false,
|
||
|
|
serverExternalPackages: ["postgres"],
|
||
|
|
async headers() {
|
||
|
|
return [
|
||
|
|
{
|
||
|
|
source: "/api/mcp/:path*",
|
||
|
|
headers: [
|
||
|
|
{ key: "Cache-Control", value: "no-store" },
|
||
|
|
],
|
||
|
|
},
|
||
|
|
];
|
||
|
|
},
|
||
|
|
};
|
||
|
|
|
||
|
|
export default config;
|