Skip to content

Commit

Permalink
Merge pull request #12 from push-protocol/f_push_scan
Browse files Browse the repository at this point in the history
routing reload fix
  • Loading branch information
rohitmalhotra1420 authored Dec 2, 2024
2 parents e72bae8 + 1cb8c37 commit 597eb17
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ const nextConfig = {
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '', // Default to empty if not defined
// You can also use assetPrefix to set the base path for static assets
assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH || '',
async rewrites() {
return [
{
source: '/:path*',
destination: '/',
},
];
},
};

module.exports = nextConfig;

0 comments on commit 597eb17

Please sign in to comment.