initial commit

This commit is contained in:
cpinte 2026-01-14 12:58:15 +01:00
commit ff607ff17d
8 changed files with 3866 additions and 0 deletions

13
js/main.js Normal file
View file

@ -0,0 +1,13 @@
window.onload = () => {
'use strict';
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('sw.js', {
scope: '/map/'
}).then(function (reg) { // registration worked
console.log('Registration succeeded. Scope is ' + reg.scope);
}).catch(function (error) { // registration failed
console.log('Registration failed with ' + error);
});
};
}