瀏覽代碼

Adding preconnect for the socket (#1075)

* Update index.html

* fix formatting
wei 5 年之前
父節點
當前提交
c67b0c59c2
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      public/index.html

+ 5 - 0
public/index.html

@@ -78,6 +78,11 @@
       type="font/ttf"
       crossorigin="anonymous"
     />
+    <link
+      href="https://excalidraw-socket.herokuapp.com/socket.io"
+      rel="preconnect"
+      crossorigin="anonymous"
+    />
 
     <link rel="manifest" href="manifest.json" />
     <link