From 3c5901edb803a13b8da119140eb0e193145c6631 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Mon, 4 Sep 2023 18:21:37 +0200 Subject: [PATCH] chore: cal.ai redirect (#11130) --- apps/ai/next.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/ai/next.config.js b/apps/ai/next.config.js index 2a1040b258..bdeffec2dc 100644 --- a/apps/ai/next.config.js +++ b/apps/ai/next.config.js @@ -5,6 +5,15 @@ plugins.push(withBundleAnalyzer({ enabled: process.env.ANALYZE === "true" })); /** @type {import("next").NextConfig} */ const nextConfig = { + async redirects() { + return [ + { + source: '/', + destination: 'https://cal.com/ai', + permanent: true, + }, + ] + }, i18n: { defaultLocale: "en", locales: ["en"], @@ -13,3 +22,4 @@ const nextConfig = { }; module.exports = () => plugins.reduce((acc, next) => next(acc), nextConfig); +