mirror of
https://github.com/Snawoot/hola-proxy.git
synced 2026-04-10 07:38:29 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8129259ba |
4
main.go
4
main.go
@@ -100,7 +100,7 @@ func main() {
|
||||
}
|
||||
mainLogger.Info("Starting proxy server...")
|
||||
handler := NewProxyHandler(endpoint, auth, proxyLogger)
|
||||
http.ListenAndServe(args.bind_address, handler)
|
||||
|
||||
err = http.ListenAndServe(args.bind_address, handler)
|
||||
mainLogger.Critical("Server terminated with a reason: %v", err)
|
||||
mainLogger.Info("Shutting down...")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user