Skip to content

Commit

Permalink
change demo base path
Browse files Browse the repository at this point in the history
  • Loading branch information
BearToCode committed Jul 20, 2023
1 parent 891f9e5 commit ffe4f3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"env": {
"browser": true,
"node": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
Expand Down
8 changes: 5 additions & 3 deletions demo/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ const config = {
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: null
})
assets: 'build'
}),
paths: {
base: process.env.NODE_ENV === 'production' ? '/carta-md' : ''
}
}
};

Expand Down

0 comments on commit ffe4f3a

Please sign in to comment.