Closed anttimaki closed 11 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
7ba4403
) 92.93% compared to head (6e1659b
) 92.94%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
These shouldn't be tied to the mirror storage definitions at all, as those might have nothing to do with public-facing CDN routing.
If we want to validate the domains (which is not a bad idea), add a new setting for it and go through that list instead.
These shouldn't be tied to the mirror storage definitions at all, as those might have nothing to do with public-facing CDN routing.
If we want to validate the domains (which is not a bad idea), add a new setting for it and go through that list instead.
Reimplemented as:
API calls can indicate that mirror CDN is preferred by including a query paramater flag in the request. Currently this is supported by the API endpoints that provide download URLs for packages and shared mod manager profiles.
If the backend receives the query parameter flag and is configured to use MirroredS3Storage, it will try to return URLs that point to the first mirror CDN.
This is intended to solve the small but growing number of incidents where users for some reason can't access Thunderstore's main CDN.
Refs TS-2003