We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49e89d5 commit 2604958Copy full SHA for 2604958
main.go
@@ -38,6 +38,8 @@ func main() {
38
39
blockedEndpointJSON := os.Getenv("BLOCKED_ENDPOINTS")
40
41
+ log.Init("Loaded Environment Variables")
42
+
43
if blockedEndpointJSON != "" {
44
var blockedEndpoints []string
45
@@ -59,5 +61,11 @@ func main() {
59
61
BLOCKED_ENDPOINTS),
60
62
VARIABLES)
63
- http.ListenAndServe("0.0.0.0:" + port, finalHandler)
64
+ log.Info("Initialized Proxy Handler")
65
66
+ addr := "0.0.0.0:" + port
67
68
+ log.Info("Server Listening on ", addr)
69
70
+ http.ListenAndServe(addr, finalHandler)
71
}
0 commit comments