Add CORS for production domain
Some checks are pending
CI / Engine — lint / typecheck / test (push) Waiting to run
CI / API — lint / typecheck / test (push) Waiting to run
CI / Web — typecheck / lint / build (push) Waiting to run

This commit is contained in:
Manohar Gupta 2026-05-15 08:50:39 +05:30
parent cdcefa389d
commit 584660f9a7

View file

@ -24,7 +24,7 @@ app = FastAPI(
app.add_middleware(
CORSMiddleware,
allow_origins=["http://localhost:3000"],
allow_origins=["http://localhost:3000", "https://model.manohargupta.com"],
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],