Files
golunteer/client/next.config.ts
2025-01-12 02:01:14 +00:00

20 lines
338 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
output: "export",
rewrites: async () => ({
beforeFiles: [],
afterFiles: [],
fallback: [
{
source: "/api/:path*",
destination: "http://golunteer-backend:8080/api/:path*",
},
],
}),
};
export default nextConfig;