diff --git a/image.go b/image.go index ef690c6..a77535e 100644 --- a/image.go +++ b/image.go @@ -9,7 +9,7 @@ import ( func generate(w http.ResponseWriter, r *http.Request) { fmt.Println(r.URL.Path, ":~", r.Header.Get("user-agent")) - code := r.URL.Path[1+len("image/"):] + code := r.URL.Path[1+len("njump/image/"):] if code == "" { fmt.Fprintf(w, "call /njump/image/") return