RedisValidation updated

This commit is contained in:
2025-02-12 15:59:36 +03:00
parent ba9b1a9a73
commit 24eb6519f2
9 changed files with 127 additions and 20 deletions

View File

@@ -32,7 +32,7 @@ def setup_cors_middleware(app: FastAPI) -> None:
"""
app.add_middleware(
CORSMiddleware,
allow_origins=["*"],
allow_origins=["http://localhost:3000","*"],
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],

View File

@@ -48,7 +48,7 @@ class ApiConfig(DefaultApiConfig):
# Server Configuration
app = "app:app"
host = "0.0.0.0"
port = 41575
port = 8888
log_level = "info"
reload = True