This commit is contained in:
root
2026-06-06 23:05:17 +08:00
parent f5c5819bdf
commit 00b1c8eb8b
13 changed files with 101 additions and 6 deletions

View File

@@ -1,6 +1,15 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
async rewrites() {
return [
{
source:
"/api/:path((?:health|cities|content|notifications|recommendations|routes|services|downloads|meetups|discussions|gigs|profiles|matches|feedback|stats|ai).*)",
destination: "http://127.0.0.1:8000/api/:path",
},
];
},
allowedDevOrigins: [
"localhost",
"localhost:3000",