(fedora-packages) Try redirecting missing icons to a default icon.
This commit is contained in:
parent
e5e03b53fa
commit
4256279629
1 changed files with 5 additions and 0 deletions
|
@ -52,3 +52,8 @@ WSGIScriptAlias /packages /usr/share/fedoracommunity/production/apache/fedoracom
|
|||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Directory /var/cache/fedoracommunity/packages/icons/>
|
||||
# If someone tries to access an icon that doesn't exist, then send them to the
|
||||
# default icon.
|
||||
ErrorDocument 404 https://apps.fedoraproject.org/packages/images/icons/package_128x128.png
|
||||
</Directory>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue