summary refs log tree commit diff
path: root/src/api/Server.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-04 10:36:26 +0100
committerRory& <root@rory.gay>2025-12-04 11:01:18 +0100
commit13bbf5dbd592ab9743c1c471c6fbdfd85630c15d (patch)
treedba5b9befafc77d47a1e3141375cba64767ec951 /src/api/Server.ts
parentMerge pull request #1422 from CyberL1/fix/github-embed-push-show-only-the-fir... (diff)
downloadserver-ts-13bbf5dbd592ab9743c1c471c6fbdfd85630c15d.tar.xz
Remove fallback URIs, remove endpointClient, expose admin api
Diffstat (limited to 'src/api/Server.ts')
-rw-r--r--src/api/Server.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/Server.ts b/src/api/Server.ts

index 133e9dbb..62a51777 100644 --- a/src/api/Server.ts +++ b/src/api/Server.ts
@@ -158,6 +158,9 @@ export class SpacebarServer extends Server { baseUrl: Config.get().gateway.endpointPublic, encoding: [...(erlpackSupported ? ["etf"] : []), "json"], compression: ["zstd-stream", "zlib-stream", null], + }, + admin: Config.get().admin.endpointPublic === null ? undefined : { + baseUrl: Config.get().admin.endpointPublic } }); });