From 5f2348d89d7314d05e901b511a18f20384583921 Mon Sep 17 00:00:00 2001 From: Michael Novotny Date: Tue, 8 Aug 2023 15:55:15 -0500 Subject: [PATCH] Adds redirect for `/password` (#1162) --- next.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/next.config.js b/next.config.js index 7a65540b1..53a8515e2 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 + } + ]; } };