Fetch banner.txt from public URL instead of config (#1216)

This commit is contained in:
Tilman Vatteroth 2021-05-03 21:57:55 +02:00 committed by GitHub
parent e1d096ba1d
commit 0264e9a420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 161 additions and 87 deletions

View file

@ -9,7 +9,6 @@ export interface Config {
allowRegister: boolean,
authProviders: AuthProvidersState,
branding: BrandingConfig,
banner: BannerConfig,
customAuthNames: CustomAuthNames,
useImageProxy: boolean,
specialUrls: SpecialUrls,
@ -29,11 +28,6 @@ export interface BrandingConfig {
logo: string,
}
export interface BannerConfig {
text: string
timestamp: string
}
export interface BackendVersion {
major: number
minor: number
@ -63,7 +57,7 @@ export interface CustomAuthNames {
}
export interface SpecialUrls {
privacy: string,
termsOfUse: string,
imprint: string,
privacy?: string,
termsOfUse?: string,
imprint?: string,
}