-
Notifications
You must be signed in to change notification settings - Fork 60.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] mask avatars don't display properly in many areas #3965
Comments
also about return `https://cdn.staticfile.net/emoji-datasource-apple/15.0.1/img/${style}/64/${unified}.png`; does that CDN can handle high loads or whatever it is ? |
Thank you for your reply, please see the last picture I posted above, or go to this website for testing, there are quite a lot of provinces in mainland China that can't connect using the current CDN |
First of all, to answer your question, this CDN was used before this project, but then access failed due to a problem with its domain name (see image below), and then it was replaced with the current CDN (cdn.jsdelivr.net). PR history Since we used to be able to use it, it shouldn't be a problem to change it back now and fix the domain name correctly. If you are not sure about this change, we can also make a minimal change to use Connectivity testing for fastly.jsdelivr.net |
Summary of my speech:
|
yeah but it was down, and I'm not certain if it's stable again. For instance, I'm unsure if it can handle high volumes of traffic about old CDN |
Then you can try using |
alright |
|
Describe the bug
Mask avatars are not displayed properly. The reason is that the cdn
cdn.jsdelivr.net
that we use for avatars, has problems resolving in some regions, it can be changed to another cdn, I can provide the PRTo Reproduce
Expected behavior
The mask's avatar can be displayed normally
Screenshots
Deployment
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional Logs
In this PR, the CDN of
staticfile
was changed tojsdelivr
, and thecdn.jsdelivr.com
is completely unavailable in some provinces of mainland China (as shown in the following picture). Thestaticfile cdn
before this PR can actually continue to be used, the previous can not be used because they changed the domain name (org → net). So I suggest changing the CDN back to staticfile. This will ensure that users in all provinces of mainland China can see the avatar image.Just change the code in this line to following
As you can see,
cdn.jsdelivr.net
is inaccessible in many Mainland China provinces!The text was updated successfully, but these errors were encountered: