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 9cbe0b7 commit 49f4433Copy full SHA for 49f4433
main.go
@@ -32,7 +32,6 @@ var config struct {
32
CacheExpiredPurge int `env:"CACHE_EXPIRED_PURGE" envDefault:"60"`
33
Environment string `env:"ENVIRONMENT" envDefault:"develop"`
34
Port int `env:"PORT" envDefault:"8080"`
35
- APIHostname string `env:"API_HOSTNAME" envDefault:"http://localhost"`
36
}
37
38
func main() {
@@ -108,7 +107,7 @@ func main() {
108
107
w.Write([]byte("nothing to see here"))
109
})
110
111
- l.Log("msg", fmt.Sprintf("feedbridge listening on %s:%d", config.APIHostname, config.Port))
+ l.Log("msg", fmt.Sprintf("feedbridge listening on http://localhost:%d", config.Port))
112
err = http.ListenAndServe(fmt.Sprintf(":%d", config.Port), r)
113
if err != nil {
114
panic(err)
0 commit comments