Remove fallback URIs, remove endpointClient, expose admin api

This commit is contained in:
Rory&
2025-12-04 10:36:26 +01:00
parent e981f491b7
commit 13bbf5dbd5
11 changed files with 22 additions and 27 deletions
+3
View File
@@ -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
}
});
});