mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
✨ Deactivate profile-activity middleware.
This commit is contained in:
parent
a3ead3aa6d
commit
4bf0ae0a9d
1 changed files with 2 additions and 4 deletions
|
@ -125,8 +125,7 @@
|
||||||
["/assets" {:middleware [[middleware/format-response-body]
|
["/assets" {:middleware [[middleware/format-response-body]
|
||||||
[middleware/errors errors/handle]
|
[middleware/errors errors/handle]
|
||||||
[middleware/cookies]
|
[middleware/cookies]
|
||||||
(:middleware session)
|
(:middleware session)]}
|
||||||
middleware/activity-logger]}
|
|
||||||
["/by-id/:id" {:get (:objects-handler assets)}]
|
["/by-id/:id" {:get (:objects-handler assets)}]
|
||||||
["/by-file-media-id/:id" {:get (:file-objects-handler assets)}]
|
["/by-file-media-id/:id" {:get (:file-objects-handler assets)}]
|
||||||
["/by-file-media-id/:id/thumbnail" {:get (:file-thumbnails-handler assets)}]]
|
["/by-file-media-id/:id/thumbnail" {:get (:file-thumbnails-handler assets)}]]
|
||||||
|
@ -152,8 +151,7 @@
|
||||||
["/auth/oauth/:provider" {:post (:handler oauth)}]
|
["/auth/oauth/:provider" {:post (:handler oauth)}]
|
||||||
["/auth/oauth/:provider/callback" {:get (:callback-handler oauth)}]
|
["/auth/oauth/:provider/callback" {:get (:callback-handler oauth)}]
|
||||||
|
|
||||||
["/rpc" {:middleware [(:middleware session)
|
["/rpc" {:middleware [(:middleware session)]}
|
||||||
middleware/activity-logger]}
|
|
||||||
["/query/:type" {:get (:query-handler rpc)
|
["/query/:type" {:get (:query-handler rpc)
|
||||||
:post (:query-handler rpc)}]
|
:post (:query-handler rpc)}]
|
||||||
["/mutation/:type" {:post (:mutation-handler rpc)}]]]]))
|
["/mutation/:type" {:post (:mutation-handler rpc)}]]]]))
|
||||||
|
|
Loading…
Reference in a new issue