1
0
Fork 0
forked from mirrors/akkoma

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

This commit is contained in:
eugenijm 2019-02-01 22:35:19 +03:00
parent d747bd9870
commit a184811a60

View file

@ -84,6 +84,6 @@ def load_from_system_env(config) do
end
def websocket_url do
String.replace_leading(static_url(), "http", "ws")
String.replace_leading(url(), "http", "ws")
end
end