From 5df93370343f107e502ce76790a522a56938a3a1 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 17 Jan 2017 20:28:53 +0100 Subject: [PATCH] Make image retrieve endpoint public (without auth). --- backend/src/uxbox/frontend.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/uxbox/frontend.clj b/backend/src/uxbox/frontend.clj index 385ace05d..0111bbaf5 100644 --- a/backend/src/uxbox/frontend.clj +++ b/backend/src/uxbox/frontend.clj @@ -81,6 +81,8 @@ [:post "auth/recovery" #'users/request-recovery] [:put "auth/recovery" #'users/recover-password] + [:get "library/images/:id" #'images/retrieve-image] + [:get "projects-by-token/:token" #'projects/retrieve-project-by-share-token] ;; SVG Parse @@ -111,7 +113,6 @@ ;; Images [:put "library/images/copy" #'images/copy-image] [:delete "library/images/:id" #'images/delete-image] - [:get "library/images/:id" #'images/retrieve-image] [:put "library/images/:id" #'images/update-image] [:post "library/images" #'images/create-image]