diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-05-21 13:35:12 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-05-21 13:35:12 -0400 |
commit | b49749b64c9c82546150f89de5ec41259fccebdc (patch) | |
tree | 13d82624f74820824e099eb4a70479eee0743a55 /src | |
parent | 74d07a15b7c7877346c6267fc1803d2774d99f9d (diff) | |
download | guff-b49749b64c9c82546150f89de5ec41259fccebdc.tar.bz2 guff-b49749b64c9c82546150f89de5ec41259fccebdc.zip |
fix x-frame-options call
Diffstat (limited to 'src')
-rw-r--r-- | src/guff.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guff.cr b/src/guff.cr index b6eaa4b..a2e2da5 100644 --- a/src/guff.cr +++ b/src/guff.cr @@ -632,7 +632,7 @@ module Guff response : HTTP::Server::Response, error : String? = nil ) - context.response.headers["x-frame-options"] = "SAMEORIGIN" + response.headers["x-frame-options"] = "SAMEORIGIN" response.content_type = "text/html; charset=utf-8" response.status_code = 200 Views::LoginPageView.new(@context, error).to_s(response) |