42 lines
773 B
TypeScript
42 lines
773 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "utfs.io",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "uploadthing.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "*.r2.cloudflarestorage.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "*.s3.amazonaws.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "*.backblazeb2.com",
|
|
},
|
|
// Local storage / MinIO
|
|
{
|
|
protocol: "http",
|
|
hostname: "localhost",
|
|
},
|
|
],
|
|
},
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: "10mb",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|