From 7526b7e69bd44fde862b7b8f1f8b244990806bb7 Mon Sep 17 00:00:00 2001 From: Michael Novotny Date: Tue, 8 Aug 2023 15:25:33 -0500 Subject: [PATCH] Adds redirect for `/password` --- next.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/next.config.js b/next.config.js index 7a65540b13..53a8515e2a 100644 --- a/next.config.js +++ b/next.config.js @@ -16,5 +16,14 @@ module.exports = { pathname: '/s/files/**' } ] + }, + async redirects() { + return [ + { + source: '/password', + destination: '/', + permanent: true + } + ]; } };