Skip to content
Snippets Groups Projects
Commit a184811a authored by Eugenij's avatar Eugenij
Browse files

Use url() instead of static_url in Endpoint.websocket_url()

parent d747bd98
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,6 @@ defmodule Pleroma.Web.Endpoint do ...@@ -84,6 +84,6 @@ defmodule Pleroma.Web.Endpoint do
end end
def websocket_url do def websocket_url do
String.replace_leading(static_url(), "http", "ws") String.replace_leading(url(), "http", "ws")
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment