Browse Source

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

David Luzar 2 years ago
parent
commit
9135ebf2e2
1 changed files with 10 additions and 0 deletions
  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"
     }
   ]
 }