bilalsxadad1231231 commited on
Commit
850fb0b
·
1 Parent(s): a3348ad

Update CORS configuration to support more development ports

Browse files
Files changed (1) hide show
  1. app/core/config.py +8 -0
app/core/config.py CHANGED
@@ -19,6 +19,14 @@ class Settings(BaseSettings):
19
  BACKEND_CORS_ORIGINS: List[str] = [
20
  "http://localhost:3000",
21
  "http://127.0.0.1:3000",
 
 
 
 
 
 
 
 
22
  ]
23
 
24
  class Config:
 
19
  BACKEND_CORS_ORIGINS: List[str] = [
20
  "http://localhost:3000",
21
  "http://127.0.0.1:3000",
22
+ "http://localhost:3001",
23
+ "http://localhost:5173",
24
+ "http://localhost:8080",
25
+ "http://localhost:4173",
26
+ "http://127.0.0.1:3001",
27
+ "http://127.0.0.1:5173",
28
+ "http://127.0.0.1:8080",
29
+ "http://127.0.0.1:4173",
30
  ]
31
 
32
  class Config: