From b1b8abe42283fc2a4564dacc8adcc636b7bf97f6 Mon Sep 17 00:00:00 2001 From: samglover Date: Thu, 26 Sep 2024 09:10:18 -0500 Subject: [PATCH] Add non-regex redirects for specific URLs --- next.config.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/next.config.js b/next.config.js index 994963e..ea9d729 100644 --- a/next.config.js +++ b/next.config.js @@ -19,6 +19,26 @@ const nextConfig = { 'https://assemblyline.suffolklitlab.org/docs/get_started#join-the-community', permanent: true, }, + { + source: '/ma/forms/courtformsonline-massaccess', + destination: '/ma/forms', + permanent: true, + }, + { + source: '/myforms', + destination: '/forms', + permanent: true, + }, + { + source: '/forms/form_data.csv', + destination: '/forms', + permanent: true, + }, + { + source: '/hackathon/', + destination: 'https://suffolklitlab.org/events/', + permanent: true, + }, ]; }, };