summary refs log tree commit diff
path: root/ReferenceClientProxyImplementation/appsettings.Development.json
blob: 6cb9d8a3cb2022f90f23a861bb623a702ced825f (plain) (blame)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Information",
      "Microsoft.AspNetCore.HttpLogging": "Warning",
      "Microsoft.AspNetCore.Routing.EndpointMiddleware": "Warning",
      "Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor": "Warning",
      "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker": "Warning"
    }
  },
  "ProxyConfiguration": {
    "TestClient": {
      "Enabled": true,
      "Revision": "canary",
      // This only does text properties!
      "GlobalEnv": {
//        "IMAGE_PROXY_ENDPOINTS": "//images-ext-1.discordapp.net,//images-ext-2.discordapp.net",


        "API_ENDPOINT": "//api.old.server.spacebar.chat/api",
        "GATEWAY_ENDPOINT": "wss://gateway.old.server.spacebar.chat",
        "MEDIA_PROXY_ENDPOINT": "//cdn.old.server.spacebar.chat",
        "IMAGE_PROXY_ENDPOINTS": "//cdn.old.server.spacebar.chat",
        "API_PROTOCOL": "https:",
        "CDN_HOST": "cdn.old.server.spacebar.chat",


        //"API_ENDPOINT": "//localhost:3001/api",
        //"GATEWAY_ENDPOINT": "ws://localhost:3002",
        //"MEDIA_PROXY_ENDPOINT": "//localhost:3003",
        //"IMAGE_PROXY_ENDPOINTS": "//localhost:3003",
        //"CDN_HOST": "localhost:3003",
        //"API_PROTOCOL": "http:",


        "NODE_ENV": "production",
        "PROJECT_ENV": "development", //internal
        "RELEASE_CHANNEL": "internal",
        "PUBLIC_PATH": "/assets/",
        "API_VERSION": 9
      }
    },
    "AssetCache": {
      "MemoryCache": true,
      "DiskCache": true,
      "DiskCachePath": "cache",
      "DiskCacheBaseDirectory": "./clientRepository",
      "DitchPatchedOnStartup": true,
      "WipeOnStartup": false,
      "ExecOnRevisionChange": [
        ["code",  "-n", "{revisionPath}/patched"]
      ],
      //"BiomePath": "/nix/store/cahp9z8wkr9kazb2qx54ddp1fgjgrrxa-biome-2.2.5/bin/biome",
      //"PrettierPath": "/nix/store/6all2hvcnqjwbgi8nhdrffbydv7np5vx-prettier-3.6.2/bin/prettier",
      //"NodePath": "/nix/store/cwxxy2is6hb4dcqsx8rhnvwic3hfzpcd-nodejs-22.19.0/bin/node"
      "BiomePath": "./biome/bin/biome",
      "PrettierPath": "./prettier/bin/prettier",
      "NodePath": "./node/bin/node"
    }
  }
}