mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 18:25:21 -04:00
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:
parent
ff06f368de
commit
58075f787e
3 changed files with 0 additions and 50 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue