Skip to content

Commit

Permalink
Merge pull request #23 from mareuter/add_cors2
Browse files Browse the repository at this point in the history
Try CORS again.
  • Loading branch information
mareuter authored Oct 15, 2024
2 parents 0146a37 + ad4a71d commit 85e466b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lct_web/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

app.add_middleware(
CORSMiddleware,
allow_origins=["*"],
allow_methods=["GET"],
allow_headers=["Content-Type"],
)
Expand Down

0 comments on commit 85e466b

Please sign in to comment.