Skip to content

Commit

Permalink
enable cors by default (opea-project#61)
Browse files Browse the repository at this point in the history
Signed-off-by: lvliang-intel <[email protected]>
  • Loading branch information
lvliang-intel authored May 16, 2024
1 parent ba20162 commit 3b52624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comps/cores/mega/http_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class HTTPService(BaseService):
def __init__(
self,
uvicorn_kwargs: Optional[dict] = None,
cors: Optional[bool] = False,
cors: Optional[bool] = True,
**kwargs,
):
"""Initialize the HTTPService
Expand Down

0 comments on commit 3b52624

Please sign in to comment.