Horis 2 years ago
parent
commit
c5ba6887ad
1 changed files with 4 additions and 0 deletions
  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()
+})