buildmymcpserver/apps/web/next.config.mjs

19 lines
389 B
JavaScript
Raw Normal View History

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
transpilePackages: ['@bmm/types'],
experimental: {
typedRoutes: false,
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: `${process.env.NEXT_PUBLIC_API_URL ?? 'http://localhost:4000'}/:path*`,
},
];
},
};
export default nextConfig;