This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
upload: formatting
tags/v0.9.9
William Pitcock
5 years ago
parent
1596185ac6
commit
d22f66655b
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
lib/pleroma/upload.ex
+ 2
- 1
lib/pleroma/upload.ex
View File
@@ -240,7 +240,8 @@ defmodule Pleroma.Upload do
ExAws.S3.put_object(bucket, s3_name, file_data, [
{:acl, :public_read},
{:content_type, content_type}
]) |> ExAws.request()
])
|> ExAws.request()
"#{public_endpoint}/#{bucket}/#{s3_name}"
end
Write
Preview
Loading…
Cancel
Save