Skip to content

Conversation

@omerbek
Copy link

@omerbek omerbek commented Nov 6, 2025

origins = [
"http://localhost:3000",
"http://localhost:3001",
"http://localhost:3050",
"http://127.0.0.1:3050",
#3050 is my new port
]

app.add_middleware(
CORSMiddleware,
allow_origins=origins,
allow_credentials=True,
allow_methods=[""],
allow_headers=["
"],
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant