Teddy Xinyuan Chen commited on
Commit
faba05c
·
1 Parent(s): 354d834

2024-10-08T21-40-30Z

Browse files
Files changed (1) hide show
  1. src/quizsite/settings.py +8 -1
src/quizsite/settings.py CHANGED
@@ -61,7 +61,14 @@ else:
61
  f"https://{env('CODESPACE_NAME')}-8000.{env('GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN')}"
62
  )
63
 
64
- ALLOWED_HOSTS.extend(CSRF_TRUSTED_ORIGINS)
 
 
 
 
 
 
 
65
  ADMIN_URL = env("ADMIN_URL")
66
 
67
  # Application definition
 
61
  f"https://{env('CODESPACE_NAME')}-8000.{env('GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN')}"
62
  )
63
 
64
+ ALLOWED_HOSTS = [
65
+ "localhost",
66
+ "mq-django-quiz-app.vercel.app",
67
+ "mq-quiz.teddysc.me",
68
+ "teddysc.me",
69
+ "g.teddysc.me",
70
+ "tddschn-mq-quiz.hf.space",
71
+ ]
72
  ADMIN_URL = env("ADMIN_URL")
73
 
74
  # Application definition