Skip to content

Commit

Permalink
fix: next config basepath
Browse files Browse the repository at this point in the history
  • Loading branch information
ginifizz committed Oct 18, 2023
1 parent 33007a0 commit 1139102
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
@@ -1,6 +1,6 @@
const nextConfig = {
assetPrefix: process.env.NODE_ENV === 'production' ? '/vulcain-website/' : '/',
basePath: process.env.NODE_ENV === 'production' ? '/vulcain-website' : '',
assetPrefix: `${process.env.NEXT_PUBLIC_BASE_URL}/`,
basePath: '',
images: {
unoptimized: true,
},
Expand Down

0 comments on commit 1139102

Please sign in to comment.