package handlers import ( "net/http" "github.com/imgproxy/imgproxy/v3/httpheaders" ) var landingTmpl = []byte(` Hey, I'm imgproxy!

Hey, I'm imgproxy—a fast and secure server for processing images!

You can get me here: https://imgproxy.net/

`) // LandingHandler handles the landing page requests func LandingHandler(reqID string, rw http.ResponseWriter, r *http.Request) error { rw.Header().Set(httpheaders.ContentType, "text/html") rw.WriteHeader(http.StatusOK) rw.Write(landingTmpl) return nil }