Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
added cors allow-header
Browse files Browse the repository at this point in the history
  • Loading branch information
argl committed Oct 9, 2024
1 parent c541896 commit cb953ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions httpobs/website/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ def wrapper(*args, **kwargs):
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': ', '.join(request.url_rule.methods),
'Access-Control-Max-Age': '86400',
'Access-Control-Allow-Headers': 'X-Deprecation-Override'

}
)

Expand Down

0 comments on commit cb953ac

Please sign in to comment.