mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
♻️ Add missing svgparse http handler.
This commit is contained in:
parent
33c8743215
commit
f83c8d4523
3 changed files with 40 additions and 4 deletions
|
@ -88,8 +88,9 @@
|
|||
(rr/create-resource-handler {:path "/"})
|
||||
(rr/create-default-handler))))
|
||||
|
||||
|
||||
(defn- create-router
|
||||
[{:keys [session rpc google-auth gitlab-auth metrics ldap-auth storage] :as cfg}]
|
||||
[{:keys [session rpc google-auth gitlab-auth metrics ldap-auth storage svgparse] :as cfg}]
|
||||
(rr/router
|
||||
[["/metrics" {:get (:handler metrics)}]
|
||||
|
||||
|
@ -107,7 +108,7 @@
|
|||
[middleware/keyword-params]
|
||||
[middleware/cookies]]}
|
||||
|
||||
;; ["/svg" {:post handlers/parse-svg}]
|
||||
["/svg" {:post svgparse}]
|
||||
|
||||
["/oauth"
|
||||
["/google" {:post (:auth-handler google-auth)}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue