mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-30 18:40:25 +00:00
add admin checks for admin pages and run biome formating 🔨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m8s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m8s
This commit is contained in:
@ -4,30 +4,30 @@ const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
experimental: {
|
||||
serverActions: {
|
||||
bodySizeLimit: '20mb',
|
||||
}
|
||||
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/**'),
|
||||
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*{/}?',
|
||||
source: "/:path*{/}?",
|
||||
headers: [
|
||||
{
|
||||
key: 'X-Accel-Buffering',
|
||||
value: 'no',
|
||||
key: "X-Accel-Buffering",
|
||||
value: "no",
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user