Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
4n70w4 authored and elazarl committed Jan 10, 2021
1 parent 00ad82a commit a92cc75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/goproxy-websockets/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"crypto/tls"
"github.com/ecordell/goproxy"
"github.com/elazarl/goproxy"
"github.com/gorilla/websocket"
"log"
"net/http"
Expand Down Expand Up @@ -74,7 +74,7 @@ func main() {
StartProxy(wg)

endpointUrl := "wss://localhost:12345"
proxyUrl := "wss://localhost:54321"
proxyUrl := "http://localhost:54321"

surl, _ := url.Parse(proxyUrl)
dialer := websocket.Dialer{
Expand Down

0 comments on commit a92cc75

Please sign in to comment.