Commit 0d63c93
committed
hack adapted from #21061 to enhance history.pushState
openapi-explorer uses pushState 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
Probably not needed very soon, as
Authress-Engineering/openapi-explorer#292 was quickly merged1 parent c1e81b3 commit 0d63c93
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
3 | 13 | | |
4 | 14 | | |
5 | 15 | | |
| |||
0 commit comments