From 7e5d7142f46dc3c508c95efcbc96c14112414d12 Mon Sep 17 00:00:00 2001 From: Jack MB Date: Tue, 17 Sep 2024 17:20:39 +0200 Subject: [PATCH] add redirect from /bookings to /studio-bookings --- next.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/next.config.js b/next.config.js index 7d66a342..458e89cf 100644 --- a/next.config.js +++ b/next.config.js @@ -12,4 +12,13 @@ module.exports = { scrollRestoration: true, }, transpilePackages: ["@radix-ui"], + async redirects() { + return [ + { + source: '/bookings', + destination: '/studio-bookings', + permanent: false, + }, + ]; + }, };