42 lines
802 B
TypeScript
42 lines
802 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'],
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'cdn.gunshiz.top',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'cdn.discordapp.com',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'p16-sign-sg.tiktokcdn.com',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'p16-sign.tiktokcdn-us.com',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: '*.tiktokcdn.com',
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|