uploads: remove batch upload page.

* Make /uploads/batch redirect to /uploads/new.
* Remove /uploads/image_proxy.
This commit is contained in:
evazion
2022-02-21 00:03:43 -06:00
parent 3da9c1574f
commit 68ba447494
13 changed files with 4 additions and 166 deletions

View File

@@ -100,10 +100,6 @@ module Sources
tags.map(&:first).flat_map(&method(:translate_tag)).uniq.sort
end
def headers
{ "Referer" => "http://#{site_name}" }
end
# Moebooru returns an empty array when doing an md5:<hash> search for a
# deleted post. Because of this, api_response may be empty in some cases.
def api_response