Prevent storyboards from hanging

This commit is contained in:
Omar Roth 2020-03-04 15:36:39 -05:00
parent 3126e1ac94
commit bd0aaa343b
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2

View file

@ -5714,6 +5714,7 @@ get "/sb/:id/:storyboard/:index" do |env|
end
end
env.response.headers["Connection"] = "close"
env.response.headers["Access-Control-Allow-Origin"] = "*"
if response.status_code >= 300