Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Added user-images.githubusercontent.com to allowed hostnames. #1490

Closed
wants to merge 1 commit into from

Conversation

DAQEM
Copy link

@DAQEM DAQEM commented Dec 20, 2023

Added the hostname user-images.githubusercontent.com which is an official GitHub hostname to the allowed hostname list to resolve the issue where gifs larger than 71000000 pixels hosted on user-images.githubusercontent.com would fail to load because wsrv.nl doesn't allow gifs to be bigger than 71000000 pixels.

Closes modrinth/code#1478

Added the hostname user-images.githubusercontent.com which is an official GitHub hostname to the allowed hostname list to resolve the issue where gifs larger than 71000000 pixels hosted on user-images.githubusercontent.com would fail to load because wsrv.nl doesn't allow gifs to be bigger than 71000000 pixels.

Closes #1468
@triphora
Copy link
Contributor

Looks good, but could you PR this to https://github.com/modrinth/omorphia/blob/master/lib/helpers/parse.js instead?

@DAQEM
Copy link
Author

DAQEM commented Dec 20, 2023

modrinth/omorphia#171

@triphora
Copy link
Contributor

Closing as helpers/parse.js no longer exists in knossos

@triphora triphora closed this Jan 27, 2024
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.

Some GIFs are broken
2 participants