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:
parent
92fc9c1ca6
commit
5df9337034
1 changed files with 2 additions and 1 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue