dockerfix
This commit is contained in:
@@ -12,7 +12,7 @@ from app.services.tasks import task_manager
|
||||
|
||||
|
||||
def get_allowed_origins() -> List[str]:
|
||||
origins = os.getenv("CORS_ORIGINS", "http://localhost:5173,http://localhost:8080")
|
||||
origins = os.getenv("CORS_ORIGINS", "http://localhost:8451,http://localhost:8080")
|
||||
return [origin.strip() for origin in origins.split(",") if origin.strip()]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user