mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 03:24:04 +00:00
Use url() instead of static_url in Endpoint.websocket_url()
This commit is contained in:
parent
d747bd9870
commit
a184811a60
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue