Fix filename things

This commit is contained in:
2023-05-16 20:47:58 +10:00
parent 6846f364ec
commit 96d289496b

View File

@@ -48,7 +48,7 @@ module Adamantium
return Failure(e.message)
end
upload_path = File.join(settings.micropub_site_url, "/media/", "/#{pathname}/", filename).to_s
upload_path = File.join(settings.micropub_site_url, "/media/", "/#{pathname}/", fullsize_filename).to_s
Success(upload_path)
end
end