21 lines
404 B
JavaScript
21 lines
404 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
typescript: {
|
|
tsconfigPath: "./tsconfig.next.json",
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: "/api/:path*",
|
|
destination: "http://localhost:3000/api/:path*",
|
|
},
|
|
{
|
|
source: "/health",
|
|
destination: "http://localhost:3000/health",
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|