s
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user