Files
ck_qr_nextjs_node_redis_pos…/client/next.config.ts
T

16 lines
312 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: 'standalone',
async rewrites() {
return [
{
source: '/l/:slug',
destination: `${process.env.INTERNAL_BACKEND_URL || 'http://localhost:4001'}/l/:slug`
}
];
}
};
export default nextConfig;