mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
Fetch banner.txt from public URL instead of config (#1216)
This commit is contained in:
parent
e1d096ba1d
commit
0264e9a420
14 changed files with 161 additions and 87 deletions
12
src/api/config/types.d.ts
vendored
12
src/api/config/types.d.ts
vendored
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue