mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Instead of detecting 'custom' in the name of the icons (which can happen if the icon basename itself contains the word 'custom'), check if the icon is already an absolute URL path. Tests: - Add a custom shortcut and provide a custom icon for it in /var/www/plinth/custom/static/icons/. Visit the frontpage and ensure that the icon is visible. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>