diff options
author | Sheogorath | 2019-03-04 16:59:32 +0100 |
---|---|---|
committer | Sheogorath | 2019-03-04 16:59:44 +0100 |
commit | 32a1afbe86a8c94fd3bcf8374f77aac3bf80d69e (patch) | |
tree | 162528c56b7d52ba1300ccc41a8ae0dc8e5bb430 | |
parent | 126cd1b1f0e21f35a2148eda6171a1826c788708 (diff) |
Fix wrong value type in example config
HSTS maxAge has to be an integer, not a string.
Fixes https://github.com/hackmdio/codimd/issues/1159
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
-rw-r--r-- | config.json.example | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.json.example b/config.json.example index fe8c810c..cb2bf3a5 100644 --- a/config.json.example +++ b/config.json.example @@ -20,7 +20,7 @@ "loglevel": "info", "hsts": { "enable": true, - "maxAgeSeconds": "31536000", + "maxAgeSeconds": 31536000, "includeSubdomains": true, "preload": true }, |