Update main.go

This commit is contained in:
Kar
2025-06-23 12:05:47 +00:00
parent 4164a1c21d
commit 610dda89af

View File

@@ -133,7 +133,7 @@ func serveAPI() {
handler := c.Handler(router)
log.Printf("Server starting on port %s", config.Port)
log.Fatal(http.ListenAndServe("0.0.0.0:"+config.Port, handler))
log.Fatal(http.ListenAndServe(config.Port, handler))
}
func getImageHandler(w http.ResponseWriter, r *http.Request) {