Skip to content

Commit

Permalink
Merge pull request #19 from push-protocol/f_push_scan
Browse files Browse the repository at this point in the history
base path fix
  • Loading branch information
rohitmalhotra1420 authored Dec 4, 2024
2 parents d07dfd0 + f86da03 commit 4742608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ const nextConfig = {
buildActivity: false,
},
// Access the NEXT_PUBLIC_BASE_PATH environment variable
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '', // Default to empty if not defined
basePath: process.env.NEXT_PUBLIC_BASE_PATH || undefined, // 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 || '',
assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH || undefined,
};

module.exports = nextConfig;

0 comments on commit 4742608

Please sign in to comment.