From 530e534692bf9c34972a86029dd101da6ac4a50b Mon Sep 17 00:00:00 2001 From: Oz Date: Wed, 27 May 2026 23:08:13 +0000 Subject: [PATCH] Redirect all traffic to warp.dev The "Do Things with Warp" site is being sunset. Add a Next.js `redirects()` config that catches every path served by this deployment (dothings.warp.dev and any preview alias) and 308s to https://warp.dev/. This pairs with the upstream change in warp-marketing-3 that removes on-site entry points to dothings.warp.dev (footer link, /dothings and /do-things short-link redirects). Co-Authored-By: Oz --- next.config.ts | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index e9ffa30..9f8ccd6 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,7 +1,24 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - /* config options here */ + // The "Do Things with Warp" site is being sunset. All traffic to this + // deployment (dothings.warp.dev and any preview alias) is permanently + // redirected to warp.dev. Two rules so the root path resolves cleanly + // and every other path falls through to the same destination. + async redirects() { + return [ + { + source: "/", + destination: "https://warp.dev/", + permanent: true, + }, + { + source: "/:path*", + destination: "https://warp.dev/", + permanent: true, + }, + ]; + }, }; export default nextConfig;