Backend file structure modifications, blogs routes ajustement
This commit is contained in:
@@ -11,8 +11,8 @@ const nextConfig: NextConfig = {
|
||||
}
|
||||
return [
|
||||
{
|
||||
source: "/api",
|
||||
destination: `http://localhost:${process.env.BACKEND_PORT}`,
|
||||
source: "/api/:path",
|
||||
destination: `http://localhost:${process.env.BACKEND_PORT}/:path`,
|
||||
permanent: false,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user