Ver Fonte

Don't preload local fonts in dev, it doesn't work anyway

Marcel Mraz há 1 ano atrás
pai
commit
03a03e8d21
1 ficheiros alterados com 0 adições e 23 exclusões
  1. 0 23
      excalidraw-app/index.html

+ 0 - 23
excalidraw-app/index.html

@@ -128,29 +128,6 @@
     <script>
     <script>
       window.EXCALIDRAW_ASSET_PATH = window.origin;
       window.EXCALIDRAW_ASSET_PATH = window.origin;
     </script>
     </script>
-
-    <!-- in DEV we need to preload from the local server and without the hash -->
-    <link
-      rel="preload"
-      href="../packages/excalidraw/fonts/assets/Excalifont-Regular.woff2"
-      as="font"
-      type="font/woff2"
-      crossorigin="anonymous"
-    />
-    <link
-      rel="preload"
-      href="../packages/excalidraw/fonts/assets/Virgil-Regular.woff2"
-      as="font"
-      type="font/woff2"
-      crossorigin="anonymous"
-    />
-    <link
-      rel="preload"
-      href="../packages/excalidraw/fonts/assets/ComicShanns-Regular.woff2"
-      as="font"
-      type="font/woff2"
-      crossorigin="anonymous"
-    />
     <% } %>
     <% } %>
 
 
     <!-- For Nunito only preload the latin range, which should be good enough for now -->
     <!-- For Nunito only preload the latin range, which should be good enough for now -->