mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32: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 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
|
||||
|
||||
Reference in New Issue
Block a user