File size: 666 Bytes
a02272f
 
 
bc9ad92
 
 
 
 
 
 
 
 
 
 
 
 
 
37f2357
 
 
 
 
 
 
 
bc9ad92
 
a02272f
 
 
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
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  async rewrites() {
    return [
      {
        source: "/status",
        destination: "http://localhost:8000/status",
      },
      {
        source: "/brains",
        destination: "http://localhost:8000/brains",
      },
      {
        source: "/download",
        destination: "http://localhost:8000/download",
      },
      {
        source: "/download/setup",
        destination: "http://localhost:8000/download/setup",
      },
      {
        source: "/install.ps1",
        destination: "http://localhost:8000/install.ps1",
      },
    ];
  },
};

export default nextConfig;