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':