summary refs log tree commit diff
path: root/ReferenceClientProxyImplementation/appsettings.Development.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ReferenceClientProxyImplementation/appsettings.Development.json62
1 files changed, 62 insertions, 0 deletions
diff --git a/ReferenceClientProxyImplementation/appsettings.Development.json b/ReferenceClientProxyImplementation/appsettings.Development.json
new file mode 100644

index 0000000..6cb9d8a --- /dev/null +++ b/ReferenceClientProxyImplementation/appsettings.Development.json
@@ -0,0 +1,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" + } + } +}