chartManD commited on
Commit
7c69576
·
1 Parent(s): 02472ba

Se agregan el espacion de huggie face en CSRF de confianza para aceptar los formularios

Browse files
Files changed (1) hide show
  1. cata_system/settings.py +3 -1
cata_system/settings.py CHANGED
@@ -30,7 +30,9 @@ SECRET_KEY = 'django-insecure-u)t2290d+c@$$7@!%@m&=w44$a@haxew8$!!tggh!up-+0-ll(
30
  # SECURITY WARNING: don't run with debug turned on in production!
31
  DEBUG = True
32
 
33
- ALLOWED_HOSTS = ["*"]
 
 
34
 
35
  # SESSIONS TIMEOUT
36
  SESSION_COOKIE_AGE = 30 * 60
 
30
  # SECURITY WARNING: don't run with debug turned on in production!
31
  DEBUG = True
32
 
33
+ ALLOWED_HOSTS = ["https://chartmand-cata-system.hf.space"]
34
+
35
+ CSRF_TRUSTED_ORIGINS = ["https://chartmand-cata-system.hf.space"]
36
 
37
  # SESSIONS TIMEOUT
38
  SESSION_COOKIE_AGE = 30 * 60