nomadweb/frontend/next.config.ts
2026-08-29 03:50:50 -05:00

18 lines
352 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
poweredByHeader: false,
compress: true,
async rewrites() {
return [
{
source: "/api/:path*",
destination: `${process.env.API_URL || "http://localhost:8000"}/api/:path*`,
},
];
},
};
export default nextConfig;