Ramadhan2310 commited on
Commit
45705c6
·
verified ·
1 Parent(s): 6c0ae52

Update config/settings.py

Browse files
Files changed (1) hide show
  1. config/settings.py +0 -6
config/settings.py CHANGED
@@ -66,15 +66,9 @@ MIDDLEWARE = [
66
 
67
  # Security Settings for Production
68
  SECURE_SSL_REDIRECT = False
69
- SESSION_COOKIE_SECURE = True
70
- CSRF_COOKIE_SECURE = True
71
  SECURE_BROWSER_XSS_FILTER = True
72
  SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
73
 
74
- # Pengaturan tambahan agar bisa jalan di Iframe Hugging Face
75
- CSRF_COOKIE_SAMESITE = 'None'
76
- SESSION_COOKIE_SAMESITE = 'None'
77
-
78
  SECURE_CONTENT_SECURITY_POLICY = {
79
  'default-src': ("'self'",),
80
  'script-src': ("'self'", "cdn.tailwindcss.com"),
 
66
 
67
  # Security Settings for Production
68
  SECURE_SSL_REDIRECT = False
 
 
69
  SECURE_BROWSER_XSS_FILTER = True
70
  SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
71
 
 
 
 
 
72
  SECURE_CONTENT_SECURITY_POLICY = {
73
  'default-src': ("'self'",),
74
  'script-src': ("'self'", "cdn.tailwindcss.com"),