From adfa154de4fce04e9742a2e8653bb6283b6eef71 Mon Sep 17 00:00:00 2001 From: Matthew O'Riordan Date: Wed, 3 Jan 2024 10:15:28 +0100 Subject: [PATCH] Set up redirects for old content --- vercel.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..a792c6f --- /dev/null +++ b/vercel.json @@ -0,0 +1,10 @@ +{ + "redirects": [ + { "source": "/me", "destination": "/profile.html", "permanent": true }, + { "source": "/echo.html", "destination": "/reference/websocket-echo", "permanent": false }, + { "source": "/demos/racer/run/", "destination": "https://ably.com/examples", "permanent": true }, + { "source": "/index.html", "destination": "/", "permanent": true }, + { "source": "/aboutwebsocket.html", "destination": "/guides/websockets", "permanent": false }, + { "source": "/quantum.html", "destination": "https://ably.com/topic/websockets-history", "permanent": true } + ] +} \ No newline at end of file