0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

Make image retrieve endpoint public (without auth).

This commit is contained in:
Andrey Antukh 2017-01-17 20:28:53 +01:00
parent 92fc9c1ca6
commit 5df9337034
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -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]