mirror of
https://github.com/wekan/wekan.git
synced 2025-04-19 11:44:42 -04:00
Added URL path / for site.webmanifest and pwa-service-worker because of errors in Chrome inspect console.
Thanks to xet7 !
This commit is contained in:
parent
8152597a03
commit
15bf69c319
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
// PWA
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function() {
|
||||
navigator.serviceWorker.register('./pwa-service-worker.js');
|
||||
navigator.serviceWorker.register('/pwa-service-worker.js');
|
||||
});
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ head
|
|||
link(rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png")
|
||||
link(rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png")
|
||||
link(rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png")
|
||||
link(rel="manifest" href="site.webmanifest")
|
||||
link(rel="manifest" href="/site.webmanifest")
|
||||
link(rel="mask-icon" href="safari-pinned-tab.svg" color="#5bbad5")
|
||||
meta(name="apple-mobile-web-app-title" content="Wekan")
|
||||
meta(name="application-name" content="Wekan")
|
||||
|
|
Loading…
Add table
Reference in a new issue