Fix streaming example.
This commit is contained in:
parent
8465d492aa
commit
6e00c57b22
|
@ -142,9 +142,11 @@ That way we can for instance easily implement a streaming example:
|
|||
end
|
||||
|
||||
get '/' do
|
||||
Stream.new
|
||||
rescue StandardError
|
||||
[500, 'sorry, error']
|
||||
begin
|
||||
Stream.new
|
||||
rescue StandardError
|
||||
[500, 'sorry, error']
|
||||
end
|
||||
end
|
||||
|
||||
== Static Files
|
||||
|
|
Loading…
Reference in New Issue