From fc14ea74d5e199c41e52377f714eb2b1c229af57 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Thu, 14 May 2026 21:42:04 +0100 Subject: add rewrites for handbook path in Next.js configuration --- communities/red-right-hand/174bg.net/next.config.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'communities/red-right-hand/174bg.net') diff --git a/communities/red-right-hand/174bg.net/next.config.mjs b/communities/red-right-hand/174bg.net/next.config.mjs index 6b715e5..df97a86 100644 --- a/communities/red-right-hand/174bg.net/next.config.mjs +++ b/communities/red-right-hand/174bg.net/next.config.mjs @@ -5,6 +5,15 @@ const nextConfig = { // generate a minimal, production-ready Docker image with only the required runtime files and dependencies output: "standalone", + + async rewrites() { + return [ + { + source: "/handbook/:path*", + destination: "/handbook/index.html", + }, + ]; + }, }; export default nextConfig; -- cgit v1.2.3