Skip to content

Commit

Permalink
fix ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
xueyikang committed Jan 3, 2024
1 parent fa55fd4 commit c1bc845
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stealer/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
CORS_ALLOW_CREDENTIALS = True # 指明在跨域访问中,后端是否支持对cookie的操作。
CORS_ORIGIN_ALLOW_ALL = True

SECURE_SSL_REDIRECT = False
SESSION_COOKIE_SECURE = False
CSRF_COOKIE_SECURE = False

CORS_ALLOW_METHODS = (
'DELETE',
'GET',
Expand Down

0 comments on commit c1bc845

Please sign in to comment.