mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-28 17:20:23 +00:00
35 lines
641 B
TypeScript
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;
|