Remove banner from frontend config

NestJS adds the headers "Last Modified" and "ETag" to asset serving responses.
Therefore all the information we need for the banner are already given by the
file content or the file meta data.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2021-04-25 14:45:04 +02:00 committed by David Mehren
parent ff06f368de
commit 58075f787e
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
3 changed files with 0 additions and 50 deletions

View file

@ -276,10 +276,6 @@ describe('FrontendConfigService', () => {
authConfig.oauth2.length !== 0,
);
expect(config.allowAnonymous).toEqual(false);
expect(config.banner.text).toEqual('');
expect(config.banner.updateTime).toEqual(
new Date(0),
);
expect(config.branding.name).toEqual(customName);
expect(config.branding.logo).toEqual(
customLogo ? new URL(customLogo) : undefined,