From 511ce554b1fe6b87925296cf3b40be81deccd38b Mon Sep 17 00:00:00 2001 From: David Taylor Date: Sat, 8 Oct 2016 17:19:27 +0100 Subject: [PATCH] Revert "Try allow-from header (limited browser support)" This reverts commit 3f4c362bfab6b165dadc9b308f196ee1750fd9db. --- PyRIGS/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyRIGS/decorators.py b/PyRIGS/decorators.py index 42df533c..065ce853 100644 --- a/PyRIGS/decorators.py +++ b/PyRIGS/decorators.py @@ -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