15 lines
281 B
TypeScript
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;
|