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
+2 -2
View File
@@ -40,6 +40,7 @@ import {
} from "../config";
export class ConfigValue {
admin: EndpointConfiguration = new EndpointConfiguration();
gateway: EndpointConfiguration = new EndpointConfiguration();
cdn: CdnConfiguration = new CdnConfiguration();
api: ApiConfiguration = new ApiConfiguration();
@@ -58,7 +59,6 @@ export class ConfigValue {
defaults: DefaultsConfiguration = new DefaultsConfiguration();
external: ExternalTokensConfiguration = new ExternalTokensConfiguration();
email: EmailConfiguration = new EmailConfiguration();
passwordReset: PasswordResetConfiguration =
new PasswordResetConfiguration();
passwordReset: PasswordResetConfiguration = new PasswordResetConfiguration();
user: UserConfiguration = new UserConfiguration();
}
@@ -17,7 +17,6 @@
*/
export class EndpointConfiguration {
endpointClient: string | null = null;
endpointPrivate: string | null = null;
endpointPublic: string | null = null;
}
@@ -20,8 +20,7 @@ import { Snowflake } from "@spacebar/util";
export class GeneralConfiguration {
instanceName: string = "Spacebar Instance";
instanceDescription: string | null =
"This is a Spacebar instance made in the pre-release days";
instanceDescription: string | null = "This is a Spacebar instance made in the pre-release days";
frontPage: string | null = null;
tosPage: string | null = null;
correspondenceEmail: string | null = null;