Browse Source

feat: redirect font requests to cdn (#7549)

David Luzar 1 year ago
parent
commit
8ead8559e0
1 changed files with 12 additions and 0 deletions
  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": [