thejagstudio commited on
Commit
de81cc2
·
verified ·
1 Parent(s): 94a3dd1

Upload 92 files

Browse files
.env CHANGED
@@ -1,7 +1,7 @@
1
  DJANGO_SECRET_KEY=dev-only-secret-key-change-me
2
  DJANGO_DEBUG=True
3
- DJANGO_ALLOWED_HOSTS=127.0.0.1,localhost,testserver,devtunnels.ms,hf.space,thejagstudio-analyzrai.hf.space
4
- CORS_ALLOWED_ORIGINS=http://localhost:5173,http://127.0.0.1:5173,https://2fqqxkfg-8000.use.devtunnels.ms,https://thejagstudio-analyzrai.hf.space
5
  DB_NAME=postgres
6
  DB_USER=postgres.itllvwthavwrkhyahmfs
7
  DB_PASSWORD=VzPOOzzid18Wh0fH
 
1
  DJANGO_SECRET_KEY=dev-only-secret-key-change-me
2
  DJANGO_DEBUG=True
3
+ DJANGO_ALLOWED_HOSTS=127.0.0.1,localhost,testserver,devtunnels.ms,hf.space,thejagstudio-analyzrai.hf.space,analyzrai.vercel.app
4
+ CORS_ALLOWED_ORIGINS=http://localhost:5173,http://127.0.0.1:5173,https://2fqqxkfg-8000.use.devtunnels.ms,https://thejagstudio-analyzrai.hf.space,https://analyzrai.vercel.app/
5
  DB_NAME=postgres
6
  DB_USER=postgres.itllvwthavwrkhyahmfs
7
  DB_PASSWORD=VzPOOzzid18Wh0fH
config/__pycache__/settings.cpython-314.pyc CHANGED
Binary files a/config/__pycache__/settings.cpython-314.pyc and b/config/__pycache__/settings.cpython-314.pyc differ
 
config/settings.py CHANGED
@@ -26,7 +26,7 @@ DEBUG = os.getenv("DJANGO_DEBUG", "True").lower() in {"1", "true", "yes", "on"}
26
 
27
  ALLOWED_HOSTS = [
28
  host.strip()
29
- for host in os.getenv("DJANGO_ALLOWED_HOSTS", "127.0.0.1,localhost,testserver,devtunnels.ms,.hf.space,thejagstudio-analyzrai.hf.space").split(",")
30
  if host.strip()
31
  ]
32
 
@@ -137,7 +137,7 @@ CORS_ALLOWED_ORIGINS = [
137
  origin.strip()
138
  for origin in os.getenv(
139
  "CORS_ALLOWED_ORIGINS",
140
- "http://localhost:5173,http://127.0.0.1:5173,https://2fqqxkfg-8000.use.devtunnels.ms,https://thejagstudio-analyzrai.hf.space",
141
  ).split(",")
142
  if origin.strip()
143
  ]
@@ -154,7 +154,7 @@ CSRF_TRUSTED_ORIGINS = [
154
  origin.strip()
155
  for origin in os.getenv(
156
  "CSRF_TRUSTED_ORIGINS",
157
- "http://localhost:5173,http://127.0.0.1:5173,https://*.use.devtunnels.ms",
158
  ).split(",")
159
  if origin.strip()
160
  ]
 
26
 
27
  ALLOWED_HOSTS = [
28
  host.strip()
29
+ for host in os.getenv("DJANGO_ALLOWED_HOSTS", "127.0.0.1,localhost,testserver,devtunnels.ms,hf.space,thejagstudio-analyzrai.hf.space,analyzrai.vercel.app").split(",")
30
  if host.strip()
31
  ]
32
 
 
137
  origin.strip()
138
  for origin in os.getenv(
139
  "CORS_ALLOWED_ORIGINS",
140
+ "http://localhost:5173,http://127.0.0.1:5173,https://2fqqxkfg-8000.use.devtunnels.ms,https://thejagstudio-analyzrai.hf.space,https://analyzrai.vercel.app",
141
  ).split(",")
142
  if origin.strip()
143
  ]
 
154
  origin.strip()
155
  for origin in os.getenv(
156
  "CSRF_TRUSTED_ORIGINS",
157
+ "http://localhost:5173,http://127.0.0.1:5173,https://*.use.devtunnels.ms,https://thejagstudio-analyzrai.hf.space,https://analyzrai.vercel.app",
158
  ).split(",")
159
  if origin.strip()
160
  ]