Horis 2 lat temu
rodzic
commit
c5ba6887ad
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      modules/web/src/main.ts

+ 4 - 0
modules/web/src/main.ts

@@ -16,3 +16,7 @@ watch(
     }
   },
 )
+
+window.addEventListener('vite:preloadError', event => {
+  event.preventDefault()
+})