Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
@@ -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;