Docker images / prepare-release (push) Successful in 6s
Docker images / backend-image (push) Successful in 1m36s
Docker images / frontend-image (push) Successful in 1m39s
Docker images / updater-image (push) Successful in 50s
Docker images / notify-webhook (push) Has been skipped
Docker images / publish-release (push) Successful in 8s
19 lines
485 B
TypeScript
19 lines
485 B
TypeScript
import type { NextConfig } from "next";
|
|
import { backendInternalUrl } from "./lib/backend-internal-url";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
experimental: {
|
|
proxyClientMaxBodySize: "512mb",
|
|
},
|
|
async rewrites() {
|
|
const backendUrl = backendInternalUrl();
|
|
return [
|
|
{ source: "/health", destination: `${backendUrl}/health` },
|
|
{ source: "/api/:path*", destination: `${backendUrl}/api/:path*` },
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|