diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-14 21:42:04 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-14 21:42:04 +0100 |
| commit | fc14ea74d5e199c41e52377f714eb2b1c229af57 (patch) | |
| tree | f71d0d58e6bc35a8f26a9f5b8fed6f07a5344c39 /communities/red-right-hand/174bg.net/next.config.mjs | |
| parent | 745991441992aa53258030a162d3c85578d60510 (diff) | |
| download | unnamed-group-fc14ea74d5e199c41e52377f714eb2b1c229af57.tar unnamed-group-fc14ea74d5e199c41e52377f714eb2b1c229af57.tar.gz unnamed-group-fc14ea74d5e199c41e52377f714eb2b1c229af57.tar.bz2 unnamed-group-fc14ea74d5e199c41e52377f714eb2b1c229af57.tar.xz unnamed-group-fc14ea74d5e199c41e52377f714eb2b1c229af57.zip | |
add rewrites for handbook path in Next.js configuration
Diffstat (limited to 'communities/red-right-hand/174bg.net/next.config.mjs')
| -rw-r--r-- | communities/red-right-hand/174bg.net/next.config.mjs | 9 |
1 files changed, 9 insertions, 0 deletions
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; |
