Files
sarlink-portal/next.config.ts
i701 a60e9a9c85
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 12m20s
chore: add skeletons to tables and loading.tsx files for routes and run formatting ♻️
2025-09-20 20:42:14 +05:00

36 lines
675 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
experimental: {
serverActions: {
bodySizeLimit: "20mb",
},
devtoolSegmentExplorer: true,
},
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;