feat: web favicon to reflect new icon
This commit is contained in:
parent
8a5388f2c1
commit
d4ddc75e6c
@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<!--
|
||||
If you are serving your web app in a path other than the root, change the
|
||||
@ -27,27 +28,29 @@
|
||||
<link rel="apple-touch-icon" href="icons/ios/180.png">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/png" href="icons/ios/32.png"/>
|
||||
<link rel="icon" type="image/png" href="icons/ios/32.png" />
|
||||
|
||||
<title>Wesal</title>
|
||||
<link rel="manifest" href="manifest.json">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script src="flutter_bootstrap.js" async></script>
|
||||
|
||||
|
||||
<!-- Firebase Messaging Service Worker -->
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function() {
|
||||
window.addEventListener('load', function () {
|
||||
navigator.serviceWorker.register('/firebase-messaging-sw.js')
|
||||
.then(function(registration) {
|
||||
.then(function (registration) {
|
||||
console.log('Firebase Messaging Service Worker registered successfully:', registration);
|
||||
})
|
||||
.catch(function(error) {
|
||||
.catch(function (error) {
|
||||
console.log('Firebase Messaging Service Worker registration failed:', error);
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user