diff options
author | Erik Michelson | 2020-08-27 02:04:49 +0200 |
---|---|---|
committer | Erik Michelson | 2020-08-27 02:04:49 +0200 |
commit | 824f910bfe39b8d789ca3edcfca44b66f603a81c (patch) | |
tree | 4038ca3553f9487eb1c476fa1d7b54355bd341b7 /lib/web | |
parent | 23d54b8b4b3a9587220c9211d2a92c22609a4de8 (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.js | 3 |
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 |