summaryrefslogtreecommitdiff
path: root/lib/web
diff options
context:
space:
mode:
authorErik Michelson2020-08-27 02:04:49 +0200
committerErik Michelson2020-08-27 02:04:49 +0200
commit824f910bfe39b8d789ca3edcfca44b66f603a81c (patch)
tree4038ca3553f9487eb1c476fa1d7b54355bd341b7 /lib/web
parent23d54b8b4b3a9587220c9211d2a92c22609a4de8 (diff)
Add config option for cookie SameSite policy
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
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