mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* All of the images in html/images/manifest.json 404 because the src specified was relative * The resulting URL was /images/images/android-chrome-192x192.png (which does not exist). The files are in /images/. * This fix adds a leading / to the src members, which effectively uses the correct path (e.g. /images/android-chrome-192x192.png) * For reference, when using web manifests for icons, https://developer.mozilla.org/en-US/docs/Web/Manifest/icons "If src is a relative URL, the base URL will be the URL of the manifest." * librenmsv1.blade.php uses asset('images/manifest.json'); many other blades use it. This fix applies to all of these views. /opt/librenms/resources/views/about/index.blade.php /opt/librenms/resources/views/auth/2fa.blade.php /opt/librenms/resources/views/auth/deny-demo.blade.php /opt/librenms/resources/views/auth/external-auth-failed.blade.php /opt/librenms/resources/views/auth/login.blade.php /opt/librenms/resources/views/auth/public-status.blade.php /opt/librenms/resources/views/device-group/create.blade.php /opt/librenms/resources/views/device-group/edit.blade.php /opt/librenms/resources/views/device-group/index.blade.php /opt/librenms/resources/views/layouts/legacy_page.blade.php /opt/librenms/resources/views/locations.blade.php /opt/librenms/resources/views/settings/index.blade.php /opt/librenms/resources/views/user/authlog.blade.php /opt/librenms/resources/views/user/create.blade.php /opt/librenms/resources/views/user/edit.blade.php /opt/librenms/resources/views/user/index.blade.php /opt/librenms/resources/views/user/preferences.blade.php /opt/librenms/resources/views/vue.blade.php /opt/librenms/resources/views/map/device-dependency.blade.php
19 lines
426 B
JSON
19 lines
426 B
JSON
{
|
|
"name": "LibreNMS",
|
|
"icons": [
|
|
{
|
|
"src": "/images/android-chrome-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "/images/android-chrome-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png"
|
|
}
|
|
],
|
|
"theme_color": "#ffffff",
|
|
"background_color": "#ffffff",
|
|
"display": "standalone"
|
|
}
|