mirror of
https://github.com/neocities/neocities.git
synced 2025-07-21 01:56:03 +02:00
lil' fixes, and reference to neocities-node
This commit is contained in:
parent
d8010d22e8
commit
ee4874bb82
4 changed files with 30 additions and 5 deletions
2
app.rb
2
app.rb
|
@ -565,7 +565,7 @@ post '/api/upload' do
|
|||
files = []
|
||||
|
||||
params.each do |k,v|
|
||||
next unless v[:tempfile]
|
||||
next unless v.is_a?(Hash) && v[:tempfile]
|
||||
files << {filename: k.to_s, tempfile: v[:tempfile]}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue