Files
sarlink-portal/next.config.ts

35 lines
641 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;