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>
This commit is contained in:
David Mehren 2021-05-06 22:01:50 +02:00
parent 0555d01f4a
commit a897ef7dea
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -8,17 +8,15 @@
}, },
"development": { "development": {
"loglevel": "debug", "loglevel": "debug",
"hsts": {
"enable": false
},
"db": { "db": {
"dialect": "sqlite", "dialect": "sqlite",
"storage": "./db.hedgedoc.sqlite" "storage": "./db.hedgedoc.sqlite"
}, },
"linkifyHeaderStyle": "gfm" "domain": "localhost",
"urlAddPort": true
}, },
"production": { "production": {
"domain": "localhost", "domain": "change this",
"loglevel": "info", "loglevel": "info",
"hsts": { "hsts": {
"enable": true, "enable": true,
@ -126,7 +124,6 @@
{ {
"connectionString": "change this", "connectionString": "change this",
"container": "change this" "container": "change this"
}, }
"linkifyHeaderStyle": "gfm"
} }
} }