mirror of
https://github.com/arkorty/B.Tech-Project-III.git
synced 2026-04-19 12:41:48 +00:00
19 lines
353 B
TypeScript
19 lines
353 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: "/api/:path*",
|
|
destination: "http://localhost:8000/api/:path*",
|
|
},
|
|
{
|
|
source: "/health",
|
|
destination: "http://localhost:8000/health",
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|