Files
Sven-Hendrik Haase 8ad37f0738 hedgedoc: Fix trailing comma
I'm not sure how this slipped through since I did test the change thoroughly but somehow I must've added a trailing comma
after the testing was done as my brain couldn't handle not having a trailing comma.
2026-10-08 22:57:21 +02:00

54 lines
1.6 KiB
Django/Jinja

{
"production": {
"sessionSecret": "{{ vault_hedgedoc_session_secret }}",
"email": false,
"domain": "{{ hedgedoc_domain }}",
"loglevel": "info",
"protocolUseSSL": true,
"allowAnonymous": false,
"allowAnonymousEdits": true,
"sessionLife": {{ 30 * 24 * 60 * 60 * 1000 }},
"defaultPermission": "limited",
"uploadsPath": "/var/lib/hedgedoc/uploads",
"hsts": {
"enable": true,
"maxAgeSeconds": 31536000,
"includeSubdomains": true,
"preload": true
},
"csp": {
"enable": true,
"directives": {},
"upgradeInsecureRequests": "true",
"addDefaults": true,
"addDisqus": false,
"addGoogleAnalytics": false,
"allowFraming": false,
"allowPDFEmbed": false
},
"cookiePolicy": "lax",
"db": {
"dialect": "postgres",
"username": "hedgedoc",
"password": "{{ vault_postgres_users.hedgedoc }}",
"database": "hedgedoc",
"host": "localhost",
"port": "5432"
},
"linkifyHeaderStyle": "gfm",
"oauth2": {
"clientSecret": "{{ vault_hedgedoc_client_secret }}"
},
"externalLinkWhitelist": [
"archlinux.org",
"*.archlinux.org",
"archlinux.page",
"*.archlinux.page",
"*.archlinux.builders",
"*.archlinux.review",
"pkgbuild.com",
"*.pkgbuild.com"
]
}
}