1
0
Fork 0

Allow iframe

This commit is contained in:
Alex Kotov 2023-02-05 05:34:59 +04:00
parent f084987d41
commit d4991cec79
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 4 additions and 0 deletions

View File

@ -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 =