From 58de4b8a074192162a7f750f2d884fdb1e401921 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 19 Sep 2024 15:39:18 +0200 Subject: [PATCH] allow localhost:8000 --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 3a1ccc5..9412443 100755 --- a/app/main.py +++ b/app/main.py @@ -139,7 +139,7 @@ app = FastAPI(docs_url=None, redoc_url=None, openapi_url = None) limiter = Limiter(key_func=get_remote_address) app.state.limiter = limiter -origins = ["http://www.stocknear.com","https://www.stocknear.com","http://stocknear.com","https://stocknear.com","http://localhost:5173","http://localhost:4173"] +origins = ["http://www.stocknear.com","https://www.stocknear.com","http://stocknear.com","https://stocknear.com","http://localhost:5173","http://localhost:4173","http://localhost:8000"] app.add_middleware( CORSMiddleware,