Skip to content

Conversation

@geoo89
Copy link
Contributor

@geoo89 geoo89 commented Sep 18, 2025

The STACK API sometimes returns links to assets that should be displayed in the question.
These links are relative to the URL of the STACK API; however, when directly rendering them on a website, they will be interpreted as relative to the website, and thus not work.
This fixes it but prefixing the URL of the STACK API.

This PR build on top of #2693 in order to avoid merge conflicts (both PRs touch the same part of the STACK JS file). Only the last commit is new. Merging this PR will also merge #2693

@rbeezer
Copy link
Collaborator

rbeezer commented Oct 17, 2025

Merged as-is. Thanks.

@rbeezer rbeezer closed this Oct 17, 2025
@rbeezer
Copy link
Collaborator

rbeezer commented Oct 17, 2025

Generally, it'd be easier to not have duplicate commits across more than one PR. If I make edits to ones that have been merged, hten they won't match up. I know how to deal with that case, it just would be better if it wasn't this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants