mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-22 07:52:15 +00:00
Revert "Try allow-from header (limited browser support)"
This reverts commit 3f4c362bfa.
This commit is contained in:
@@ -10,7 +10,7 @@ def allow_embed():
|
|||||||
def headers_wrapper(fun):
|
def headers_wrapper(fun):
|
||||||
def wrapped_function(*args, **kwargs):
|
def wrapped_function(*args, **kwargs):
|
||||||
response = fun(*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 response
|
||||||
return wrapped_function
|
return wrapped_function
|
||||||
return headers_wrapper
|
return headers_wrapper
|
||||||
|
|||||||
Reference in New Issue
Block a user