Remove origins

This commit is contained in:
Parker M. 2024-11-11 20:45:52 -06:00
parent cc744e1fef
commit 386e6dcb35
Signed by: parker
GPG Key ID: 505ED36FC12B5D5E

View File

@ -25,17 +25,8 @@ app = FastAPI(
},
)
origins = [
"http://localhost:3000",
"http://127.0.0.1:3000",
"localhost:3000",
"127.0.0.1:3000",
# f"{CUSTOM_DOMAIN}"
]
app.add_middleware(
CORSMiddleware,
allow_origins=origins,
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],