13 lines
229 B
TypeScript
Executable File
13 lines
229 B
TypeScript
Executable File
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
async rewrites() {
|
|
return [{
|
|
source: "/api/:path*",
|
|
destination: "http://api:8000/api/:path*"
|
|
}];
|
|
}
|
|
};
|
|
|
|
export default nextConfig;
|