something something webshlockets
This commit is contained in:
parent
f2e995dcc0
commit
36dd4a0176
|
@ -1 +0,0 @@
|
|||
../../lib
|
|
@ -1 +0,0 @@
|
|||
../../lib
|
|
@ -1 +0,0 @@
|
|||
../../lib
|
|
@ -1 +0,0 @@
|
|||
../../lib
|
|
@ -1 +0,0 @@
|
|||
../../lib
|
|
@ -1 +0,0 @@
|
|||
../lib
|
|
@ -1 +0,0 @@
|
|||
../../lib
|
|
@ -1 +0,0 @@
|
|||
../../lib
|
|
@ -1 +0,0 @@
|
|||
../../lib
|
|
@ -1 +0,0 @@
|
|||
../../../lib
|
|
@ -1 +0,0 @@
|
|||
../../lib
|
|
@ -1 +0,0 @@
|
|||
../../lib
|
|
@ -16,7 +16,7 @@ app = Landline::Server.new do
|
|||
files[file.filename] = "<a href=\"files/#{filename}\">#{filename}</a>"
|
||||
end
|
||||
end
|
||||
erubi(file("index.rhtml"), { formdata: files }).run
|
||||
erb(file("index.rhtml"), { formdata: files }).run
|
||||
end
|
||||
serve "/files/*"
|
||||
get "/" do
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../../examples
|
|
@ -188,6 +188,8 @@ module Landline
|
|||
def _process_events(next_frame)
|
||||
loop do
|
||||
frame = next_frame.call
|
||||
return nil unless frame
|
||||
|
||||
case frame.type
|
||||
when :binary, :text, :pong then return frame
|
||||
when :ping
|
||||
|
|
Loading…
Reference in New Issue