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