Ignore source/extension, tracker icon and thumbnails requests from image queue
The server is not requesting these images through an extension; thus, it is not a problem to send them directly to the server since there is no problem of getting the server "stuck" due to extension rate limits.
This commit is contained in:
@@ -102,7 +102,15 @@ export function ExtensionCard(props: IProps) {
|
||||
<Card>
|
||||
<OptionalCardActionAreaLink disabled={!isInstalled} to={AppRoutes.extension.childRoutes.info.path(pkgName)}>
|
||||
<ListCardContent>
|
||||
<ListCardAvatar iconUrl={requestManager.getValidImgUrlFor(iconUrl)} alt={name} />
|
||||
<ListCardAvatar
|
||||
iconUrl={requestManager.getValidImgUrlFor(iconUrl)}
|
||||
alt={name}
|
||||
slots={{
|
||||
spinnerImageProps: {
|
||||
ignoreQueue: true,
|
||||
},
|
||||
}}
|
||||
/>
|
||||
<Stack
|
||||
sx={{
|
||||
justifyContent: 'center',
|
||||
|
||||
@@ -67,7 +67,15 @@ export const SourceCard: React.FC<IProps> = (props: IProps) => {
|
||||
state={{ contentType: SourceContentType.POPULAR, clearCache: true }}
|
||||
>
|
||||
<ListCardContent>
|
||||
<ListCardAvatar iconUrl={requestManager.getValidImgUrlFor(iconUrl)} alt={sourceName} />
|
||||
<ListCardAvatar
|
||||
iconUrl={requestManager.getValidImgUrlFor(iconUrl)}
|
||||
alt={sourceName}
|
||||
slots={{
|
||||
spinnerImageProps: {
|
||||
ignoreQueue: true,
|
||||
},
|
||||
}}
|
||||
/>
|
||||
<Stack
|
||||
sx={{
|
||||
justifyContent: 'center',
|
||||
|
||||
Reference in New Issue
Block a user