Revert "Try allow-from header (limited browser support)"

This reverts commit 3f4c362bfa.
This commit is contained in:
David Taylor
2016-10-08 17:19:27 +01:00
parent 536842971d
commit 511ce554b1

View File

@@ -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-FROM https://forum.nottinghamtec.co.uk/"
response['X-Frame-Options'] = "ALLOW"
return response
return wrapped_function
return headers_wrapper