Files
sarlink-portal/next.config.ts
i701 9b2f2c1528
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m8s
add admin checks for admin pages and run biome formating 🔨
2025-07-25 13:31:12 +05:00

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;