Skip to content

Commit

Permalink
make url configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
jaronoff97 committed Apr 23, 2024
1 parent 9d27165 commit 75fe519
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/tails/remotetapclient.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ defmodule Tails.RemoteTapClient do
{"Origin", "http://localhost"}
]

url = "ws://localhost:12001"
# IO.puts("starting link!!!")
url = System.get_env("REMOTE_TAP_ENDPOINT") || "ws://localhost:12001"

WebSockex.start_link(url, __MODULE__, state,
insecure: true,
Expand Down

0 comments on commit 75fe519

Please sign in to comment.