Skip to content

hack to resolve base tag conflicting with openapi explorer by not inserting the tag for that page#21060

Closed
toy wants to merge 1 commit intodevfrom
overcome-base-tag-hack-2
Closed

hack to resolve base tag conflicting with openapi explorer by not inserting the tag for that page#21060
toy wants to merge 1 commit intodevfrom
overcome-base-tag-hack-2

Conversation

@toy
Copy link
Copy Markdown
Contributor

@toy toy commented Nov 17, 2025

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 don't insert the tag on exploror page

Alternative to #21061
See also https://community.openproject.org/wp/69113

…erting the tag for that page

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 don't insert the tag on exploror
page
@toy toy force-pushed the overcome-base-tag-hack-2 branch from 6f58c6f to 94c7a85 Compare December 4, 2025 15:15
@opf opf deleted a comment from github-actions bot Dec 4, 2025
@toy
Copy link
Copy Markdown
Contributor Author

toy commented Dec 17, 2025

Always better to fix something in an opensource library for everyone (Authress-Engineering/openapi-explorer#292) instead of adding a hack around the problem

@toy toy closed this Dec 17, 2025
@toy toy deleted the overcome-base-tag-hack-2 branch December 17, 2025 19:22
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant