Skip to content

Update server.py#14

Open
omerbek wants to merge 1 commit intogensyn-ai:mainfrom
omerbek:main
Open

Update server.py#14
omerbek wants to merge 1 commit intogensyn-ai:mainfrom
omerbek:main

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