浏览代码

feat: redirect fonts to cdn (take 2)

dwelle 1 年之前
父节点
当前提交
9723c3bbab
共有 4 个文件被更改,包括 12 次插入0 次删除
  1. 二进制
      public/Assistant-Regular.woff2
  2. 二进制
      public/Cascadia.woff2
  3. 二进制
      public/Virgil.woff2
  4. 12 0
      vercel.json

二进制
public/Assistant-Regular.woff2


二进制
public/Cascadia.woff2


二进制
public/Virgil.woff2


+ 12 - 0
vercel.json

@@ -28,6 +28,18 @@
       "source": "/webex/:match*",
       "destination": "https://for-webex.excalidraw.com"
     },
+    {
+      "source": "/Virgil.woff2",
+      "destination": "https://excalidraw.nyc3.cdn.digitaloceanspaces.com/fonts/Virgil.woff2"
+    },
+    {
+      "source": "/Cascadia.woff2",
+      "destination": "https://excalidraw.nyc3.cdn.digitaloceanspaces.com/fonts/Cascadia.woff2"
+    },
+    {
+      "source": "/Assistant-Regular.woff2",
+      "destination": "https://excalidraw.nyc3.cdn.digitaloceanspaces.com/fonts/Assistant-Regular.woff2"
+    },
     {
       "source": "/:path*",
       "has": [