projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d747bd9
)
Use url() instead of static_url in Endpoint.websocket_url()
author
eugenijm
<eugenijm@protonmail.com>
Fri, 1 Feb 2019 19:35:19 +0000
(22:35 +0300)
committer
eugenijm
<eugenijm@protonmail.com>
Fri, 1 Feb 2019 19:35:19 +0000
(22:35 +0300)
lib/pleroma/web/endpoint.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/endpoint.ex
b/lib/pleroma/web/endpoint.ex
index ebbc5d7b5ec48becc65ad8ddac08a1c4aa0b3277..3eed047ca9503352b7d214867e0669417f62aceb 100644
(file)
--- 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