From 13bbf5dbd592ab9743c1c471c6fbdfd85630c15d Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 4 Dec 2025 10:36:26 +0100 Subject: Remove fallback URIs, remove endpointClient, expose admin api --- src/util/config/Config.ts | 4 ++-- src/util/config/types/EndpointConfiguration.ts | 1 - src/util/config/types/GeneralConfiguration.ts | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/util') diff --git a/src/util/config/Config.ts b/src/util/config/Config.ts index 1458ab4b..077d0513 100644 --- a/src/util/config/Config.ts +++ b/src/util/config/Config.ts @@ -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(); } diff --git a/src/util/config/types/EndpointConfiguration.ts b/src/util/config/types/EndpointConfiguration.ts index 6319d79c..359d2e41 100644 --- a/src/util/config/types/EndpointConfiguration.ts +++ b/src/util/config/types/EndpointConfiguration.ts @@ -17,7 +17,6 @@ */ export class EndpointConfiguration { - endpointClient: string | null = null; endpointPrivate: string | null = null; endpointPublic: string | null = null; } diff --git a/src/util/config/types/GeneralConfiguration.ts b/src/util/config/types/GeneralConfiguration.ts index cff8c527..1548b527 100644 --- a/src/util/config/types/GeneralConfiguration.ts +++ b/src/util/config/types/GeneralConfiguration.ts @@ -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; -- cgit 1.5.1