projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable warning_as_errors for tests
[akkoma]
/
lib
/
pleroma
/
upload.ex
diff --git
a/lib/pleroma/upload.ex
b/lib/pleroma/upload.ex
index 77cba2cd2fff9bdf64c57a5dfe75a3f565559786..07031ac58527190667c731ed92131fcb38cb7646 100644
(file)
--- a/
lib/pleroma/upload.ex
+++ b/
lib/pleroma/upload.ex
@@
-214,4
+214,6
@@
defmodule Pleroma.Upload do
[base_url, "media", path]
|> Path.join()
end
+
+ defp url_from_spec(_base_url, {:url, url}), do: url
end