Bläddra i källkod

feat: redirect vscode.excalidraw.com to vscode marketplace (#5285)

David Luzar 2 år sedan
förälder
incheckning
9135ebf2e2
1 ändrade filer med 10 tillägg och 0 borttagningar
  1. 10 0
      vercel.json

+ 10 - 0
vercel.json

@@ -27,6 +27,16 @@
     {
       "source": "/webex/:match*",
       "destination": "https://for-webex.excalidraw.com"
+    },
+    {
+      "source": "/:path*",
+      "has": [
+        {
+          "type": "host",
+          "value": "vscode.excalidraw.com"
+        }
+      ],
+      "destination": "https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor"
     }
   ]
 }