From 777563940e14a33849721b92ad6c093f80e9d127 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Mon, 23 Jan 2023 02:44:48 -0800 Subject: [PATCH] Fix tab URLs The app was crashing when you went to another tab on new pages because the rewrites were only configured for URLs with shortcodes --- next.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/next.config.js b/next.config.js index 93967c18..24e220ba 100644 --- a/next.config.js +++ b/next.config.js @@ -15,6 +15,18 @@ module.exports = { source: '/', destination: '/new', }, + { + source: '/characters', + destination: '/new', + }, + { + source: '/summons', + destination: '/new', + }, + { + source: '/weapons', + destination: '/new', + }, { source: '/p/:shortcode/characters', destination: '/p/:shortcode',