|
@@ -26,7 +26,7 @@ class SnapdropServer {
|
|
|
_onHeaders(headers, response) {
|
|
|
if (response.headers.cookie && response.headers.cookie.indexOf('peerid=') > -1) return;
|
|
|
response.peerId = Peer.uuid();
|
|
|
- headers.push('Set-Cookie: peerid=' + response.peerId);
|
|
|
+ headers.push('Set-Cookie: peerid=' + response.peerId + "; SameSite=Strict; Secure");
|
|
|
}
|
|
|
|
|
|
_onMessage(sender, message) {
|