From: eugenijm Date: Fri, 1 Feb 2019 19:35:19 +0000 (+0300) Subject: Use url() instead of static_url in Endpoint.websocket_url() X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a184811a605a56436cc5b9eae8ef5c3834285922;p=akkoma Use url() instead of static_url in Endpoint.websocket_url() --- diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex index ebbc5d7b5..3eed047ca 100644 --- a/lib/pleroma/web/endpoint.ex +++ b/lib/pleroma/web/endpoint.ex @@ -84,6 +84,6 @@ defmodule Pleroma.Web.Endpoint do end def websocket_url do - String.replace_leading(static_url(), "http", "ws") + String.replace_leading(url(), "http", "ws") end end