summaryrefslogtreecommitdiff
path: root/lib/web
diff options
context:
space:
mode:
authorSheogorath2019-10-23 21:18:57 +0200
committerGitHub2019-10-23 21:18:57 +0200
commit7a27579589a739e66edc08528c20d32e7a9d7aaf (patch)
treeca04f1debba564b36e89fd37b63a2e1bdc61e97a /lib/web
parent3db757754f02ecd874b4750ee2f7d735222ce641 (diff)
parente654ca8a3130108a6616131e35524d8f50d80ed0 (diff)
Merge pull request #205 from hoijui/linkifyHeaderStyle
Allow to generate lower case header references through the config
Diffstat (limited to 'lib/web')
-rw-r--r--lib/web/statusRouter.js3
1 files changed, 2 insertions, 1 deletions
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