Skip to content

Commit

Permalink
Try allow-from header (limited browser support)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq committed Oct 8, 2016
1 parent 8a838aa commit 3f4c362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyRIGS/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def allow_embed():
def headers_wrapper(fun):
def wrapped_function(*args, **kwargs):
response = fun(*args, **kwargs)
response['X-Frame-Options'] = "ALLOW"
response['X-Frame-Options'] = "ALLOW-FROM https://forum.nottinghamtec.co.uk/"
return response
return wrapped_function
return headers_wrapper
Expand Down

0 comments on commit 3f4c362

Please sign in to comment.