mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
api upload: fix typo
This commit is contained in:
parent
bb83caf8fe
commit
39f37b2cf5
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ post '/api/upload' do
|
|||
|
||||
files.each do |file|
|
||||
if !current_site.okay_to_upload?(file)
|
||||
api_error 400, 'invalid_file_type', "#{file[:filename]} is not a allowed file type for free sites, supporter required"
|
||||
api_error 400, 'invalid_file_type', "#{file[:filename]} is not an allowed file type for free sites, supporter required"
|
||||
end
|
||||
|
||||
if File.directory? file[:filename]
|
||||
|
|
Loading…
Add table
Reference in a new issue