more generic site file download path

This commit is contained in:
Kyle Drake 2023-08-09 19:58:46 +00:00
parent 95e61a3f45
commit 1ecc148226
2 changed files with 2 additions and 2 deletions

View file

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