Docker images / prepare-release (push) Successful in 6s
Docker images / backend-image (push) Successful in 1m36s
Docker images / frontend-image (push) Successful in 1m40s
Docker images / updater-image (push) Successful in 38s
Docker images / notify-webhook (push) Has been skipped
Docker images / publish-release (push) Successful in 6s
22 lines
508 B
TypeScript
22 lines
508 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const backendInternalUrl = (process.env.BACKEND_INTERNAL_URL ?? "http://127.0.0.1:8000").replace(
|
|
/\/$/,
|
|
"",
|
|
);
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
experimental: {
|
|
proxyClientMaxBodySize: "512mb",
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{ source: "/health", destination: `${backendInternalUrl}/health` },
|
|
{ source: "/api/:path*", destination: `${backendInternalUrl}/api/:path*` },
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|