luci-theme-openwrt-2020: remove icon explicit svg type
authorSergey Ponomarev <stokito@gmail.com>
Fri, 8 Dec 2023 08:40:31 +0000 (10:40 +0200)
committerSergey Ponomarev <stokito@gmail.com>
Tue, 12 Dec 2023 18:24:12 +0000 (20:24 +0200)
That was a fix for old browsers when the mime type is incorrect.
Today all servers return a correct mime but also browsers can sniff a type.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut

index 2b7c581387f8c0f5ec1dcbac0109fdc077d71f9b..fa9dea47b7c1ac07c91ed013c54c1104d543cae4 100644 (file)
@@ -19,7 +19,7 @@
 <meta name="viewport" content="width=device-width, initial-scale=1" />
 <meta name="apple-mobile-web-app-capable" content="yes" />
 <link rel="stylesheet" type="text/css" media="screen" href="{{ media }}/cascade.css" />
-<link rel="icon" href="{{ media }}/logo.svg" type="image/svg+xml" />
+<link rel="icon" href="{{ media }}/logo.svg" />
 <link rel="apple-touch-icon" href="{{ media }}/logo.png" />
 <script type="text/javascript" src="{{ dispatcher.build_url('admin/translations', dispatcher.lang) }}"></script>
 <script type="text/javascript" src="{{ resource }}/cbi.js"></script>