mirror of
https://github.com/metosin/reitit.git
synced 2025-12-25 03:08:25 +00:00
update example
This commit is contained in:
parent
8cd06c2bfb
commit
ac6d36de63
2 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
(ns example.server
|
||||
(:require [io.pedestal.http]
|
||||
[clojure.core.async :as a]
|
||||
[reitit.pedestal :as pedestal]
|
||||
[reitit.interceptor.pedestal :as pedestal]
|
||||
[reitit.http :as http]
|
||||
[reitit.ring :as ring]))
|
||||
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
(http/router
|
||||
["/api"
|
||||
{:interceptors [[interceptor :api]
|
||||
[interceptor :apa]]}
|
||||
[interceptor :ipa]]}
|
||||
|
||||
["/sync"
|
||||
{:interceptors [[interceptor :sync]]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
(ns reitit.pedestal
|
||||
(ns reitit.interceptor.pedestal
|
||||
(:require [io.pedestal.interceptor.chain :as chain]
|
||||
[io.pedestal.interceptor :as interceptor]
|
||||
[io.pedestal.http :as http]
|
||||
Loading…
Reference in a new issue