summaryrefslogtreecommitdiff
path: root/config.json.example
diff options
context:
space:
mode:
authorDavid Mehren2021-05-06 22:01:50 +0200
committerDavid Mehren2021-05-06 22:24:02 +0200
commita897ef7dea1fd3d0ef7415bff5b3312e5fb3828a (patch)
treeda7af6d4ff8fb5d39cc075885805fb2fa50a3d2b /config.json.example
parent0555d01f4a7adbb5b83137b6813245ec66518ddd (diff)
Update example config
The development config now runs on http://localhost:3000 out-of-the-box. The production config now makes clear that domain should be changed. Both configs don't include `"linkifyHeaderStyle": "gfm"` anymore to make the links on the homepage work. Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to '')
-rw-r--r--config.json.example11
1 files changed, 4 insertions, 7 deletions
diff --git a/config.json.example b/config.json.example
index 258643a9..42dac856 100644
--- a/config.json.example
+++ b/config.json.example
@@ -8,17 +8,15 @@
},
"development": {
"loglevel": "debug",
- "hsts": {
- "enable": false
- },
"db": {
"dialect": "sqlite",
"storage": "./db.hedgedoc.sqlite"
},
- "linkifyHeaderStyle": "gfm"
+ "domain": "localhost",
+ "urlAddPort": true
},
"production": {
- "domain": "localhost",
+ "domain": "change this",
"loglevel": "info",
"hsts": {
"enable": true,
@@ -126,7 +124,6 @@
{
"connectionString": "change this",
"container": "change this"
- },
- "linkifyHeaderStyle": "gfm"
+ }
}
}