Skip to content

Commit

Permalink
Updating Usage documentation to fix Issue - Preflight checks with CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
anonmanak2000 committed Jun 13, 2024
1 parent 718fb0a commit e5a5625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ user to the ``request context``
user_loader = lambda username, password: { 'username': username }
auth_backend = BasicAuthBackend(user_loader)
auth_middleware = FalconAuthMiddleware(auth_backend,
exempt_routes=['/exempt'], exempt_methods=['HEAD'])
exempt_routes=['/exempt'], exempt_methods=['OPTIONS','HEAD'])
api = falcon.API(middleware=[auth_middleware])
class ApiResource:
Expand Down

0 comments on commit e5a5625

Please sign in to comment.