Skip to content

Commit

Permalink
Merge pull request #65 from chaeunho1227/ceh-HOTFIX
Browse files Browse the repository at this point in the history
🚑 fix : 쿠키 samesite 옵션 변경
  • Loading branch information
chaeunho1227 authored May 27, 2024
2 parents 6534487 + 4909db4 commit 757c734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion booth/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 757c734

Please sign in to comment.