16 lines
295 B
TypeScript
16 lines
295 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
rewrites: async () => {
|
|
return [
|
|
{
|
|
source: '/api/v1/:path*',
|
|
destination: 'http://localhost:8080/api/v1/:path*',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|