This commit is contained in:
parent
8c755cf28c
commit
e537ff1a0b
2 changed files with 2 additions and 2 deletions
|
@ -17,4 +17,4 @@ WORKDIR /app/
|
|||
|
||||
COPY --from=build /app/main /app/http3-ytproxy
|
||||
|
||||
CMD ./http3-ytproxy
|
||||
CMD ./http3-ytproxy -l 0.0.0.0
|
||||
|
|
2
main.go
2
main.go
|
@ -341,7 +341,7 @@ func main() {
|
|||
var https = flag.Bool("https", false, "Use built-in https server")
|
||||
flag.StringVar(&sock, "s", "/tmp/http-ytproxy.sock", "Specify a socket name")
|
||||
flag.StringVar(&port, "p", "8080", "Specify a port number")
|
||||
flag.StringVar(&host, "l", "127.0.0.1", "Specify a listen address")
|
||||
flag.StringVar(&host, "l", "0.0.0.0", "Specify a listen address")
|
||||
flag.Parse()
|
||||
|
||||
srv := &http.Server{
|
||||
|
|
Loading…
Reference in a new issue