Skip to content

Commit

Permalink
Fix basepath in svelte config
Browse files Browse the repository at this point in the history
  • Loading branch information
GCHQDeveloper81 authored Jul 16, 2024
1 parent 9d3da07 commit dfe177d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const config = {
adapter: adapter({
fallback: '404.html'
}),
paths: {
// required for github pages hosting
base: process.env.NODE_ENV === 'production' ? '/LD-Explorer' : '',
},
alias: {
$stores: 'src/lib/stores',
'$test-helpers': 'test/helpers'
Expand Down

0 comments on commit dfe177d

Please sign in to comment.