summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/config/default.js3
-rw-r--r--lib/web/statusRouter.js3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/config/default.js b/lib/config/default.js
index 19bbeb21..f5cceac6 100644
--- a/lib/config/default.js
+++ b/lib/config/default.js
@@ -157,5 +157,6 @@ module.exports = {
allowEmailRegister: true,
allowGravatar: true,
allowPDFExport: true,
- openID: false
+ openID: false,
+ linkifyHeaderStyle: 'keep-case'
}
diff --git a/lib/web/statusRouter.js b/lib/web/statusRouter.js
index da69e62c..1d9a1157 100644
--- a/lib/web/statusRouter.js
+++ b/lib/web/statusRouter.js
@@ -96,7 +96,8 @@ statusRouter.get('/config', function (req, res) {
debug: config.debug,
version: config.fullversion,
DROPBOX_APP_KEY: config.dropbox.appKey,
- allowedUploadMimeTypes: config.allowedUploadMimeTypes
+ allowedUploadMimeTypes: config.allowedUploadMimeTypes,
+ linkifyHeaderStyle: config.linkifyHeaderStyle
}
res.set({
'Cache-Control': 'private', // only cache by client