30 lines
568 B
TypeScript
30 lines
568 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: "60mb",
|
|
},
|
|
},
|
|
turbopack: {
|
|
root: __dirname,
|
|
},
|
|
serverExternalPackages: ["bun"],
|
|
allowedDevOrigins: ['test.gunshiz.top', 'astral.neko-piranha.ts.net'],
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'cdn.gunshiz.top',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'cdn.discordapp.com',
|
|
}
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|