Allow iframe
This commit is contained in:
parent
f084987d41
commit
d4991cec79
1 changed files with 4 additions and 0 deletions
4
main.rb
4
main.rb
|
@ -16,6 +16,10 @@ $DB_POOL = ConnectionPool.new size: 5, timeout: 5 do
|
|||
end
|
||||
end
|
||||
|
||||
before do
|
||||
headers 'X-Frame-Options' => ''
|
||||
end
|
||||
|
||||
get '/examples' do
|
||||
$DB_POOL.with do |db_conn|
|
||||
ids =
|
||||
|
|
Loading…
Reference in a new issue