mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01:11 +00:00
polish
This commit is contained in:
parent
d17a9f6b42
commit
1324fb3540
3 changed files with 4 additions and 4 deletions
|
|
@ -13,6 +13,7 @@ A fast data-driven router for Clojure(Script).
|
|||
* [Fast](https://metosin.github.io/reitit/performance.html)
|
||||
|
||||
Posts:
|
||||
* [Welcome Reitit 0.2.0!](https://www.metosin.fi/blog/reitit020/)
|
||||
* [Reitit, Data-Driven Routing with Clojure(Script)](https://www.metosin.fi/blog/reitit/)
|
||||
* [Data-Driven Ring with Reitit](https://www.metosin.fi/blog/reitit-ring/)
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
["Different Routers" {:file "doc/advanced/different_routers.md"}]
|
||||
["Route Validation" {:file "doc/advanced/route_validation.md"}]
|
||||
["Dev Workflow" {:file "doc/advanced/dev_workflow.md"}]
|
||||
["Shared Routes" {:file "doc/patterns/shared_routes.md"}]]
|
||||
["Shared Routes" {:file "doc/advanced/shared_routes.md"}]]
|
||||
["Misc"
|
||||
["Performance" {:file "doc/performance.md"}]
|
||||
["Interceptors (WIP)" {:file "doc/interceptors.md"}]
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
(:require [io.pedestal.http]
|
||||
[clojure.core.async :as a]
|
||||
[reitit.interceptor.pedestal :as pedestal]
|
||||
muuntaja.interceptor
|
||||
[muuntaja.interceptor]
|
||||
[reitit.http :as http]
|
||||
[reitit.ring :as ring]))
|
||||
|
||||
|
|
@ -22,8 +22,7 @@
|
|||
(pedestal/routing-interceptor
|
||||
(http/router
|
||||
["/api"
|
||||
{:interceptors [(interceptor :api)
|
||||
(interceptor :ipa)]}
|
||||
{:interceptors [(interceptor :api)]}
|
||||
|
||||
["/sync"
|
||||
{:interceptors [(interceptor :sync)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue