Skip to content

Commit

Permalink
fix(deep-linking): When swagger UI is served under subpath deep link …
Browse files Browse the repository at this point in the history
…removes path
  • Loading branch information
DreierF committed Jan 13, 2024
1 parent bed17b3 commit 8de9c0c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/core/plugins/deep-linking/helpers.js
@@ -1,7 +1,3 @@
export const setHash = (value) => {
if(value) {
return history.pushState(null, null, `#${value}`)
} else {
return window.location.hash = ""
}
return window.location.hash = value || ""
}

0 comments on commit 8de9c0c

Please sign in to comment.