mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-09 13:51:57 -04:00
refactor: remove HstsConfig
This config object was originally ported from the HD1 config, but is not required anymore. HD2 does not support handling TLS anymore, so it does not make sense for it to set TLS-related headers. The reverse proxy terminating TLS can easily set HSTS headers. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
bf3e7e1f44
commit
0693812e8b
3 changed files with 0 additions and 57 deletions
|
@ -31,9 +31,6 @@ The config of HedgeDoc is split up into **nine** different modules:
|
|||
`external-services.config.ts`
|
||||
: Which external services are activated and where can they be called
|
||||
|
||||
`hsts.config.ts`
|
||||
: Configuration for [HTTP Strict-Transport-Security][hsts]
|
||||
|
||||
`media.config.ts`
|
||||
: Where media files are being stored
|
||||
|
||||
|
@ -96,6 +93,5 @@ Some config files also have a `.mock.ts` file which defines the configuration fo
|
|||
Those files just contain the default export and return the mock config object.
|
||||
|
||||
[csp]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
|
||||
[hsts]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
|
||||
[joi]: https://joi.dev/
|
||||
[joi-doc]: https://joi.dev/api
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue