20 lines
357 B
TypeScript
20 lines
357 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
reactStrictMode: true,
|
|
devIndicators: {
|
|
position: 'bottom-right',
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: 'http://localhost:3001/:path*',
|
|
}
|
|
]
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|