mirror of
https://github.com/neocities/neocities.git
synced 2025-07-19 17:16:05 +02:00
more generic site file download path
This commit is contained in:
parent
95e61a3f45
commit
1ecc148226
2 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ post '/site_files/rename' do
|
|||
redirect "/dashboard#{dir_query}"
|
||||
end
|
||||
|
||||
get '/site_files/:username.zip' do |username|
|
||||
get '/site_files/download' do
|
||||
require_login
|
||||
|
||||
if !current_site.dl_queued_at.nil? && current_site.dl_queued_at > 1.hour.ago
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue