Skip to content

Commit a3e6840

Browse files
committed
hack to resolve base tag conflicting with openapi explorer by overriding replaceState (+ using pushState instead)
openapi explorer uses replaceState (pushState in later versions) with anchor only, but this doesn't work with base tag, as anchor is added to the base url instead of current url. So override the replaceState function to construct the full url based on current location. Also use pushState instead to remember the history
1 parent cc1003e commit a3e6840

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

vendor/assets/javascripts/openapi-explorer.min.js

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)