Skip to content

Commit

Permalink
Remove unnecessary var
Browse files Browse the repository at this point in the history
  • Loading branch information
aisensiy committed Sep 27, 2023
1 parent 171368f commit 4e5b15e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lmdeploy/serve/openai/api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ class VariableInterface:

app = FastAPI(docs_url='/')

origins = ['*']

app.add_middleware(
CORSMiddleware,
allow_origins=origins,
allow_origins=['*'],
allow_credentials=True,
allow_methods=['*'],
allow_headers=['*'],
Expand Down

0 comments on commit 4e5b15e

Please sign in to comment.