Skip to content

Commit

Permalink
removed trailing slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadgaz committed Sep 27, 2024
1 parent a39128d commit 6f4d02d
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 6f4d02d

Please sign in to comment.