Files
carrotskin/next.config.ts

16 lines
295 B
TypeScript
Raw Normal View History

2025-12-04 10:17:03 +08:00
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
2026-02-12 20:54:06 +08:00
rewrites: async () => {
return [
{
source: '/api/v1/:path*',
destination: 'http://localhost:8080/api/v1/:path*',
},
];
},
2025-12-04 10:17:03 +08:00
};
export default nextConfig;