mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix service worker path
This commit is contained in:
parent
e7fc82ab74
commit
4b48c75ab1
@ -47,7 +47,7 @@ const start = async () => {
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => {
|
||||
navigator.serviceWorker.register('/service-worker.js');
|
||||
navigator.serviceWorker.register('./service-worker.js');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user