Skip to content

Commit

Permalink
Merge pull request #16 from jaronoff97/make-link-configurable
Browse files Browse the repository at this point in the history
Make remote tap url configurable
  • Loading branch information
jaronoff97 authored Apr 23, 2024
2 parents 9d27165 + 75fe519 commit 32e7fd6
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 32e7fd6

Please sign in to comment.