From b5d47472d9fc3ae225ab75665376261a7acab4c1 Mon Sep 17 00:00:00 2001 From: Alex Wellnitz Date: Sat, 21 Sep 2024 16:08:59 +0200 Subject: [PATCH] fix(backend): fixed cors --- backend/main.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/backend/main.py b/backend/main.py index 25afded..5ed4232 100644 --- a/backend/main.py +++ b/backend/main.py @@ -29,12 +29,7 @@ app = FastAPI( ) origins = [ - "http://localhost", - "http://localhost:3000", - "http://localhost:8000/*", - "http://127.0.0.1", - "http://127.0.0.1:3000", - "http://127.0.0.1:8000/*", + "*", "https://sim-free.dev-null.rocks", ]