diff options
Diffstat (limited to '174bg/website/next.config.mjs')
| -rw-r--r-- | 174bg/website/next.config.mjs | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/174bg/website/next.config.mjs b/174bg/website/next.config.mjs index 218fe4a..6f2522b 100644 --- a/174bg/website/next.config.mjs +++ b/174bg/website/next.config.mjs @@ -2,7 +2,48 @@ const nextConfig = { /* config options here */ reactCompiler: true, + output: "standalone", + + async redirects() { + return [ + { + source: "/discord", + destination: "https://discord.gg/RGgSfVj4DD", + permanent: true, + }, + { + source: "/handbook", + destination: "https://handbook.174bg.net", + permanent: true, + }, + { + source: "/docs", + destination: "https://handbook.174bg.net", + permanent: true, + }, + { + source: "/manager", + destination: "https://manager.174bg.net", + permanent: true, + }, + { + source: "/login", + destination: "https://manager.174bg.net", + permanent: true, + }, + { + source: "/database", + destination: "https://db.174bg.net", + permanent: true, + }, + { + source: "/db", + destination: "https://db.174bg.net", + permanent: true, + }, + ]; + }, }; export default nextConfig; |
