matrix-org / matrix.to

A simple stateless privacy-protecting URL redirecting service for Matrix
http://matrix.to
Apache License 2.0
932 stars 199 forks source link

README.md: HTML example: image does not exist #281

Closed iam-TJ closed 1 year ago

iam-TJ commented 2 years ago

The UR for the image https://matrix.to/img/matrix-badge.svg given in the example HTML code for embedding in other sites does not exist.

AnTheMaker commented 2 years ago

I also noticed this! It seems like the badge is still reachable via this link: https://matrix.to/images-nohash/matrix-badge.svg Just the original link you mentioned stopped working. It seems like the fix introduced in this PR last year somehow stopped working recently... This line introduced in said PR should theoretically still write the badge image to the correct location... idk why it stopped working https://github.com/matrix-org/matrix.to/blob/9b6a282e5fff3aea59e8ebc731576aaf8e824438/scripts/build.js#L64 Maybe you can help, @bwindels?

t3chguy commented 1 year ago

I bet this got broken as part of the migration of how we deploy m.to - raised internally

t3chguy commented 1 year ago

This got fixed by tweaking the deployment