Skip to content

Commit

Permalink
fix: Make export work in non-root pages
Browse files Browse the repository at this point in the history
see #2257

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Jan 12, 2025
1 parent e5f52b8 commit 0fd1095
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,8 @@ export default {
this.importing = false
},
onExport() {
window.location
= 'bookmark/export?requesttoken='
+ encodeURIComponent(getRequestToken())

window.location = generateUrl(`/apps/bookmarks/bookmark/export?requesttoken=${encodeURIComponent(getRequestToken())}`)
},
async onChangeArchiveEnabled(e) {
await this.$store.dispatch(actions.SET_SETTING, {
Expand Down

0 comments on commit 0fd1095

Please sign in to comment.