summaryrefslogtreecommitdiff
path: root/config.json.example
diff options
context:
space:
mode:
authorLiterallie2017-10-22 01:22:48 +0200
committerLiterallie2017-10-22 02:18:45 +0200
commit04f5e3a3414abbb76841df8375598fb690323f11 (patch)
tree57f1e19dc158f2d22d294990059c31d339869ece /config.json.example
parente5f03fe1356dca679b6e19c0dc02136f8f78936a (diff)
Move CSP logic to new file, Fix boolean config examples
Not sure why I was quoting these in the first place
Diffstat (limited to 'config.json.example')
-rw-r--r--config.json.example10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.json.example b/config.json.example
index 7e4394b0..98658770 100644
--- a/config.json.example
+++ b/config.json.example
@@ -17,17 +17,17 @@
"production": {
"domain": "localhost",
"hsts": {
- "enable": "true",
+ "enable": true,
"maxAgeSeconds": "31536000",
- "includeSubdomains": "true",
- "preload": "true"
+ "includeSubdomains": true,
+ "preload": true
},
csp: {
- "enable": "true",
+ "enable": true,
"directives": {
},
"upgradeInsecureRequests": "auto"
- "addDefaults": "true"
+ "addDefaults": true
},
"db": {
"username": "",