diff --git a/resources/views/methods/gif.html b/resources/views/methods/gif.html index e6c1faf..8e11b2d 100644 --- a/resources/views/methods/gif.html +++ b/resources/views/methods/gif.html @@ -1,4 +1,4 @@ -
+
diff --git a/src/toascii/routes/api/image.clj b/src/toascii/routes/api/image.clj index 80f17c4..36bdfcd 100644 --- a/src/toascii/routes/api/image.clj +++ b/src/toascii/routes/api/image.clj @@ -43,7 +43,7 @@ (fn [ctx] (:error ctx))) -(defresource render-animated-image [{:keys [url width color] :as params}] +(defresource render-animated-gif [{:keys [url width color] :as params}] :available-media-types ["text/html"] :malformed? (fn [ctx] @@ -75,4 +75,4 @@ (register-routes api-image-routes (ANY "/api/image" {params :params} (render-image params)) - (ANY "/api/animated" {params :params} (render-animated-image params))) \ No newline at end of file + (ANY "/api/animated-gif" {params :params} (render-animated-gif params))) \ No newline at end of file