aboutsummaryrefslogtreecommitdiff
path: root/174bg/website/next.config.mjs
blob: 6f2522b32ba24c3108972ba44094f31159849116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/** @type {import('next').NextConfig} */
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;