Skip to content

Commit

Permalink
allow all cors just for now
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlyJazz committed Dec 10, 2023
1 parent b05b545 commit 90997b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chat-microservice/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ async def shutdown_event():

def create_application() -> FastAPI:
application = FastAPI(title=settings.PROJECT_NAME)
origins = [ "http://localhost:3000", "http://34.69.26.50:3000" ]
# origins = [ "http://localhost:3000", "http://34.69.26.50:3000" ]
origins = [ "*" ]
application.add_middleware(
CORSMiddleware,
allow_origins=origins,
Expand Down

0 comments on commit 90997b5

Please sign in to comment.