Skip to content

Commit

Permalink
Remove nextjs rewrites
Browse files Browse the repository at this point in the history
  • Loading branch information
thearyadev committed Jan 25, 2024
1 parent a058dda commit 42c069d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ let backendUrl =
backendUrl = "http://localhost:7771";

const nextConfig = {
async rewrites() {
return [
{
source: "/api/:path*",
destination: `${backendUrl}/:path*`,
},
];
},
env: {
BACKEND_URL: backendUrl,
},
Expand Down

0 comments on commit 42c069d

Please sign in to comment.