Skip to content

Commit

Permalink
merged redirect branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadgaz committed Sep 27, 2024
2 parents 6c2cb78 + 6f4d02d commit e682dd7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
trailingSlash: true,
async rewrites() {
return [
{
source: '/django/:root*',
destination: `${process.env.BASE_API_URL || ''}/:root*/`,
destination: `${process.env.BASE_API_URL || ''}/:root*`,
},
];
},
Expand Down

0 comments on commit e682dd7

Please sign in to comment.