summary refs log tree commit diff
path: root/src/util
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/util
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/util')
-rw-r--r--src/util/config/Config.ts4
-rw-r--r--src/util/config/types/EndpointConfiguration.ts1
-rw-r--r--src/util/config/types/GeneralConfiguration.ts3
3 files changed, 3 insertions, 5 deletions
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;