From a897ef7dea1fd3d0ef7415bff5b3312e5fb3828a Mon Sep 17 00:00:00 2001 From: David Mehren Date: Thu, 6 May 2021 22:01:50 +0200 Subject: 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 --- config.json.example | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'config.json.example') 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" + } } } -- cgit v1.2.3