28 lines
617 B
TypeScript
28 lines
617 B
TypeScript
import type { NextConfig } from "next";
|
|
import { resolve } from "node:path";
|
|
|
|
const nextConfig: NextConfig = {
|
|
cacheComponents: true,
|
|
cacheHandlers: {
|
|
remote: resolve(process.cwd(), "cache-handlers/redis-handler.cjs"),
|
|
},
|
|
deploymentId: process.env.NEXT_DEPLOYMENT_ID,
|
|
allowedDevOrigins: ["astral"],
|
|
output: "standalone",
|
|
images: {
|
|
remotePatterns: [
|
|
{ protocol: "https", hostname: "buzz-cdn.astrxl.dev", pathname: "/**" },
|
|
],
|
|
},
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: "5mb",
|
|
},
|
|
},
|
|
turbopack: {
|
|
root: process.cwd(),
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|