diff options
author | 2022-07-10 16:07:45 +0200 | |
---|---|---|
committer | 2022-07-11 17:47:53 +0200 | |
commit | fa1a7037b47f2e0114d8abc5a99d29239bd3637b (patch) | |
tree | 83404acf711aa8976dce47950edcca64836e0cd8 /src/internal-server/config | |
parent | 6.0.0-nightly.96 [skip ci] (diff) | |
download | ferdium-app-fa1a7037b47f2e0114d8abc5a99d29239bd3637b.tar.gz ferdium-app-fa1a7037b47f2e0114d8abc5a99d29239bd3637b.tar.zst ferdium-app-fa1a7037b47f2e0114d8abc5a99d29239bd3637b.zip |
refactor: local server import/export
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'src/internal-server/config')
-rw-r--r-- | src/internal-server/config/app.js | 2 | ||||
-rw-r--r-- | src/internal-server/config/session.js | 2 | ||||
-rw-r--r-- | src/internal-server/config/shield.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/internal-server/config/app.js b/src/internal-server/config/app.js index 303e1290c..e8b52af18 100644 --- a/src/internal-server/config/app.js +++ b/src/internal-server/config/app.js | |||
@@ -232,7 +232,7 @@ module.exports = { | |||
232 | */ | 232 | */ |
233 | cookie: { | 233 | cookie: { |
234 | httpOnly: true, | 234 | httpOnly: true, |
235 | sameSite: false, | 235 | sameSite: true, |
236 | path: '/', | 236 | path: '/', |
237 | maxAge: 7200, | 237 | maxAge: 7200, |
238 | }, | 238 | }, |
diff --git a/src/internal-server/config/session.js b/src/internal-server/config/session.js index 3ce3cc4da..dbe007e2b 100644 --- a/src/internal-server/config/session.js +++ b/src/internal-server/config/session.js | |||
@@ -63,7 +63,7 @@ module.exports = { | |||
63 | cookie: { | 63 | cookie: { |
64 | httpOnly: true, | 64 | httpOnly: true, |
65 | path: '/', | 65 | path: '/', |
66 | sameSite: false, | 66 | sameSite: true, |
67 | }, | 67 | }, |
68 | 68 | ||
69 | /* | 69 | /* |
diff --git a/src/internal-server/config/shield.js b/src/internal-server/config/shield.js index 4ff22c3f9..55029faa4 100644 --- a/src/internal-server/config/shield.js +++ b/src/internal-server/config/shield.js | |||
@@ -133,7 +133,7 @@ module.exports = { | |||
133 | methods: ['POST', 'PUT', 'DELETE'], | 133 | methods: ['POST', 'PUT', 'DELETE'], |
134 | filterUris: [], | 134 | filterUris: [], |
135 | cookieOptions: { | 135 | cookieOptions: { |
136 | httpOnly: false, | 136 | httpOnly: true, |
137 | sameSite: true, | 137 | sameSite: true, |
138 | path: '/', | 138 | path: '/', |
139 | maxAge: 7200, | 139 | maxAge: 7200, |