mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -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
|
@ -20,7 +20,6 @@ import cspConfig from './config/csp.config';
|
|||
import customizationConfig from './config/customization.config';
|
||||
import databaseConfig, { DatabaseConfig } from './config/database.config';
|
||||
import externalConfig from './config/external-services.config';
|
||||
import hstsConfig from './config/hsts.config';
|
||||
import mediaConfig from './config/media.config';
|
||||
import noteConfig from './config/note.config';
|
||||
import { eventModuleConfig } from './events';
|
||||
|
@ -80,7 +79,6 @@ const routes: Routes = [
|
|||
appConfig,
|
||||
noteConfig,
|
||||
mediaConfig,
|
||||
hstsConfig,
|
||||
cspConfig,
|
||||
databaseConfig,
|
||||
authConfig,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue