Skip to content

Commit

Permalink
Update to fix base path
Browse files Browse the repository at this point in the history
  • Loading branch information
GCHQDeveloper81 committed Jul 16, 2024
1 parent 2b274c9 commit 3a61847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const config = {
fallback: '404.html'
}),
paths: {
// required for github pages hosting
base: process.env.NODE_ENV === 'production' ? '/LD-Explorer' : ''
// Base path required if this is a github pages deployment.
base: process.env.BASE_PATH || ''
},
alias: {
$stores: 'src/lib/stores',
Expand Down

0 comments on commit 3a61847

Please sign in to comment.