From 5e328f18a36a82dd61f5a37ed14dea2d9750126a Mon Sep 17 00:00:00 2001 From: David Ernst Date: Wed, 22 May 2024 21:18:46 -0700 Subject: [PATCH] Redirect /ukraine to docs proposal --- next.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/next.config.js b/next.config.js index bb5926f5..443078d8 100644 --- a/next.config.js +++ b/next.config.js @@ -8,6 +8,15 @@ const withTM = require('next-transpile-modules')(['lodash-es']) **/ const nextConfig = withMDX( withTM({ + async redirects() { + return [ + { + destination: 'https://docs.siv.org/research-in-progress/ukraine', + permanent: true, + source: '/ukraine', + }, + ] + }, typescript: { // !! WARN !! // Dangerously allow production builds to successfully complete even if