Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,18 +198,6 @@ module.exports = withPlugins([[withBundleAnalyzer]], {
},
];
},
async rewrites() {
return {
fallback: [
// These rewrites are checked after both pages/public files
// and dynamic routes are checked
{
source: '/profile/:slug*',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's hope not so much links of type https://www1.plant-for-the-planet.org/profile/norbert-schuler exists any more anywhere in the web or within our own application :-)

destination: `/profile/`,
},
],
};
},
assetPrefix: hasAssetPrefix ? `${scheme}://${process.env.ASSET_PREFIX}` : '',
// Asset Prefix allows to use CDN for the generated js files
// https://nextjs.org/docs/api-reference/next.config.js/cdn-support-with-asset-prefix
Expand Down