summaryrefslogtreecommitdiff
path: root/lib/web
diff options
context:
space:
mode:
authorDavid Mehren2020-09-25 22:39:30 +0200
committerGitHub2020-09-25 22:39:30 +0200
commit3461993ee05d09106e276e606b143d472908b166 (patch)
treec17c788b6f39f3ae91e249f48cc653b3d13b6c0b /lib/web
parentf862b7a1e44c1101a921f19bca4d8d8063eb25ce (diff)
parent4ece86f0efa1f8f3e4dab0abf810800a045ce632 (diff)
Merge pull request #486 from codimd/feature/cookie-policy
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 025aafd4..febe2df3 100644
--- a/lib/web/statusRouter.js
+++ b/lib/web/statusRouter.js
@@ -97,7 +97,8 @@ statusRouter.get('/config', function (req, res) {
version: config.fullversion,
DROPBOX_APP_KEY: config.dropbox.appKey,
allowedUploadMimeTypes: config.allowedUploadMimeTypes,
- linkifyHeaderStyle: config.linkifyHeaderStyle
+ linkifyHeaderStyle: config.linkifyHeaderStyle,
+ cookiePolicy: config.cookiePolicy
}
res.set({
'Cache-Control': 'private', // only cache by client