Band-aid: warn about AdGuard blocking our CDN (#934)

* Band-aid: warn about AdGuard blocking our CDN

Getting 50-100 errors per day. This will be a band-aid until the AdGuard fixes it.

* update message

Co-authored-by: Thomas Zarebczan <thomas.zarebczan@gmail.com>
This commit is contained in:
infinite-persistence 2022-02-22 11:17:41 -08:00 committed by GitHub
parent c74dbbb68a
commit 39de1d7e84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -1294,6 +1294,7 @@
"Are you sure you want to purchase %claim_title%?": "Are you sure you want to purchase %claim_title%?", "Are you sure you want to purchase %claim_title%?": "Are you sure you want to purchase %claim_title%?",
"Discover": "Discover", "Discover": "Discover",
"Thumbnail upload service may be down, try again later.": "Thumbnail upload service may be down, try again later.", "Thumbnail upload service may be down, try again later.": "Thumbnail upload service may be down, try again later.",
"Thumbnail upload service may be down, try again later. Some plugins like AdGuard Français may be blocking the service. If using Brave, go to brave://adblock and disable it, or turn down shields.": "Thumbnail upload service may be down, try again later. Some plugins like AdGuard Français may be blocking the service. If using Brave, go to brave://adblock and disable it, or turn down shields.",
"You are currently editing your upload.": "You are currently editing your upload.", "You are currently editing your upload.": "You are currently editing your upload.",
"You are currently editing this claim.": "You are currently editing this claim.", "You are currently editing this claim.": "You are currently editing this claim.",
"My content for this post...": "My content for this post...", "My content for this post...": "My content for this post...",

View file

@ -473,7 +473,10 @@ export const doUploadThumbnail = (
// This sucks but ¯\_(ツ)_/¯ // This sucks but ¯\_(ツ)_/¯
if (message === 'Failed to fetch') { if (message === 'Failed to fetch') {
message = __('Thumbnail upload service may be down, try again later.'); // message = __('Thumbnail upload service may be down, try again later.');
message = __(
'Thumbnail upload service may be down, try again later. Some plugins like AdGuard Français may be blocking the service. If using Brave, go to brave://adblock and disable it, or turn down shields.'
);
} }
const userInput = [fileName, fileExt, fileType, thumbnail, size]; const userInput = [fileName, fileExt, fileType, thumbnail, size];