mirror of
https://github.com/khoaliber/LetterFeed.git
synced 2026-03-02 13:18:27 +00:00
15 lines
250 B
TypeScript
15 lines
250 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: 'http://backend:8000/:path*',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|