something something webshlockets

This commit is contained in:
Yessiest 2024-12-01 16:52:38 +00:00
parent f2e995dcc0
commit 36dd4a0176
15 changed files with 3 additions and 14 deletions

View File

@ -1 +0,0 @@
../../lib

View File

@ -1 +0,0 @@
../../lib

View File

@ -1 +0,0 @@
../../lib

View File

@ -1 +0,0 @@
../../lib

View File

@ -1 +0,0 @@
../../lib

View File

@ -1 +0,0 @@
../lib

View File

@ -1 +0,0 @@
../../lib

View File

@ -1 +0,0 @@
../../lib

View File

@ -1 +0,0 @@
../../lib

View File

@ -1 +0,0 @@
../../../lib

View File

@ -1 +0,0 @@
../../lib

View File

@ -1 +0,0 @@
../../lib

View File

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

View File

@ -1 +0,0 @@
../../examples

View File

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