mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-29 11:25:27 +02:00
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>
41 lines
988 B
JSON
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
|
|
}
|
|
}
|