Merge pull request #3609 from evazion/fix-3603

Fix #3603: Unable to view images on Hijiribe/Sonohara when Danbooru is blocked
This commit is contained in:
Albert Yi
2018-04-09 10:56:00 -07:00
committed by GitHub
4 changed files with 11 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ class StorageManager
end
def default_base_url
Rails.application.routes.url_helpers.root_url + "data"
CurrentUser.root_url + "data"
end
# Store the given file at the given path. If a file already exists at that