ソースを参照

feat: redirect font requests to cdn (#7549)

David Luzar 1 年間 前
コミット
8ead8559e0
1 ファイル変更12 行追加0 行削除
  1. 12 0
      vercel.json

+ 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": [