write-ups-challenges-2024-2025/photos/frontend/next.config.ts
2024-11-25 22:32:02 +01:00

15 lines
281 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
rewrites: async () => [
{
source: "/api/:path*",
destination: "http://localhost:8000/:path*",
},
],
output: "standalone",
};
export default nextConfig;