25
0
Fork 0
mirror of https://github.com/hedgedoc/hedgedoc.git synced 2026-06-29 11:25:27 +02:00
HedgeDoc/config.json.example
Philip Molares c77676faee refactor(config): improve config.json.example
Remove all the unnecessary config options, we know have a docs website for quite some time, we don't need this to document options.
Add some sane defaults in regard to anonymous usage and stats

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-06-17 19:35:24 +02:00

41 lines
988 B
JSON

{
"test": {
"db": {
"dialect": "sqlite",
"storage": ":memory:"
},
"linkifyHeaderStyle": "gfm"
},
"development": {
"loglevel": "debug",
"db": {
"dialect": "sqlite",
"storage": "./db.hedgedoc.sqlite"
},
"domain": "localhost",
"urlAddPort": true
},
"production": {
"domain": "change this",
"loglevel": "info",
"csp": {
"enable": true,
"directives": {
},
"upgradeInsecureRequests": "auto",
"addDefaults": true
},
"cookiePolicy": "lax",
"db": {
"username": "",
"password": "",
"database": "hedgedoc",
"host": "localhost",
"port": "5432",
"dialect": "postgres"
},
"allowAnonymous": false,
"allowAnonymousEdits": true,
"enableStatsApi": false
}
}