Files
sarlinkportal-webui/next.config.ts
T

35 lines
643 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
experimental: {
serverActions: {
bodySizeLimit: "20mb",
},
},
images: {
remotePatterns: [
new URL("http://people-api.sarlink.net/images/**"),
new URL("http://verifypersonapi.baraveli.dev/images/**"),
new URL("https://i.pravatar.cc/300/**"),
new URL("https://sarlink-portal.vercel.app/**"),
],
},
output: "standalone",
async headers() {
return [
{
source: "/:path*{/}?",
headers: [
{
key: "X-Accel-Buffering",
value: "no",
},
],
},
];
},
};
export default nextConfig;