Skip to content

Commit

Permalink
Update requester.py
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v authored Nov 25, 2019
1 parent 6275bfc commit d90140f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/requester.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

def requester(url, scheme, origin):
headers['Origin'] = scheme + origin
response = requests.get(url, headers).headers
response = requests.get(url, headers=headers).headers
if 'Access-Control-Allow-Origin' in response:
return response['Access-Control-Allow-Origin']

0 comments on commit d90140f

Please sign in to comment.