canina/frontend/application/next.config.ts

15 lines
256 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://localhost:4001/api/:path*',
},
];
},
};
export default nextConfig;