mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
quick fix for now, improve later
This commit is contained in:
parent
b49590a8f8
commit
7dc4179bf8
1 changed files with 3 additions and 1 deletions
|
@ -70,7 +70,9 @@ post '/site_files/upload' do
|
||||||
file_upload_response "#{params[:dir]}/#{file[:filename]} is too large, upload cancelled."
|
file_upload_response "#{params[:dir]}/#{file[:filename]} is too large, upload cancelled."
|
||||||
end
|
end
|
||||||
if !current_site.okay_to_upload? file
|
if !current_site.okay_to_upload? file
|
||||||
file_upload_response %{#{params[:dir]}#{file[:filename]}: file type (or content in file) is only supported by <a href="/plan">supporter accounts</a>. <a href="/site_files/allowed_types">Why We Do This</a>}
|
file_upload_response %{#{params[:dir]}#{file[:filename]}: file type (or content in file) is only supported by supporter accounts.}
|
||||||
|
# TODO: Better explanation and link.
|
||||||
|
#<a href="/plan">supporter accounts</a>. <a href="/site_files/allowed_types">Why We Do This</a>}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue