Files
golunteer/client/next.config.ts
2025-01-07 16:37:37 +00:00

19 lines
341 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-frontend:8080/api/:path*",
},
],
}),
};
export default nextConfig;