From 452e5dd02b63630a254d3a94386b782e33697b3d Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sat, 22 Nov 2014 02:05:06 -0600 Subject: [PATCH] Avoid X-Frame-Options to allow embedding on homepage --- app.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.rb b/app.rb index c0dd40c..3a78ebf 100644 --- a/app.rb +++ b/app.rb @@ -4,6 +4,10 @@ require 'checks' $checks = Checks.new class App < Sinatra::Base + configure do + set :protection, :except => :frame_options + end + get '/' do $checks.check status ( $checks.passed? ? 200 : 500 ) -- 2.42.0