diff --git a/site-modules/profile/templates/hedgedoc/config.json.erb b/site-modules/profile/templates/hedgedoc/config.json.erb index b0f20f11..70ac7df6 100644 --- a/site-modules/profile/templates/hedgedoc/config.json.erb +++ b/site-modules/profile/templates/hedgedoc/config.json.erb @@ -1,39 +1,37 @@ { "<%= @runtime_environment %>": { "sessionSecret": "change-this-secret", "allowAnonymous": <%= @allow_anonymous %>, "allowAnonymousEdit": <%= @allow_anonymous_edits %>, "allowFreeURL": true, "protocolUseSSL": true, "domain": "<%= @base_url %>", "loglevel": "<%= @log_level %>", "allowOrigin": [ "localhost", "<%= @base_url %>"], "email": <%= @allow_email %>, "allowEmailRegister": <%= @allow_email_register %>, "hsts": { "enable": true, "maxAgeSeconds": 31536000, "includeSubdomains": true, "preload": true }, "csp": { "enable": true, - "directives": { - }, "upgradeInsecureRequests": "auto", "addDefaults": true, "addDisqus": true, "addGoogleAnalytics": true }, "cookiePolicy": "lax", "db": { "username": "<%= @db_user %>", "password": "<%= @db_password %>", "database": "<%= @db_name %>", "host": "<%= @db_host %>", "port": "<%= @db_port %>", "dialect": "postgres" }, "linkifyHeaderStyle": "gfm" } }