From 4909db427cc596cbcc7f0568f46ceefaeac85d6c Mon Sep 17 00:00:00 2001 From: chaeunho1227 Date: Mon, 27 May 2024 21:12:52 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20fix=20:=20=EC=BF=A0=ED=82=A4=20s?= =?UTF-8?q?amesite=20=EC=98=B5=EC=85=98=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- booth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booth/views.py b/booth/views.py index 04735cd..4d66588 100644 --- a/booth/views.py +++ b/booth/views.py @@ -118,7 +118,7 @@ def likes(self, request, pk=None): booth_like = BoothLike.objects.create(booth=booth, key=key, fingerprint=fingerprint) serializer = LikeSerializer(booth_like) response = Response(serializer.data) - response.set_cookie(booth_id, key, max_age=5*24*60*60, httponly=True, secure=True, samesite=None) + response.set_cookie(booth_id, key, max_age=5*24*60*60, httponly=True, secure=True, samesite='none') return response elif request.method == 'DELETE':