mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-24 08:05:29 +00:00
Remove fallback URIs, remove endpointClient, expose admin api
This commit is contained in:
@@ -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
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user