Skip to content
Browse files

Merge pull request #15 from erwaller/patch-1

Disable sinatra's default behavior of adding an X-Frame-Options header, ...
  • Loading branch information...
2 parents 9925f49 + 0ed37b6 commit 7ce4862d7effc89f7b3f5b5f279dd17167bc556c @jack7890 committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 index.rb
View
2 index.rb
@@ -3,6 +3,8 @@
require 'rest_client'
require 'rest-client'
+set :protection, :except => :frame_options
+
get '/' do
erb :index
end

0 comments on commit 7ce4862

Please sign in to comment.
Something went wrong with that request. Please try again.