mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
Less config for the test
This commit is contained in:
parent
37deaa3b9e
commit
fdca962d60
1 changed files with 1 additions and 5 deletions
|
|
@ -33,11 +33,7 @@
|
|||
{:interceptors [{:name :nop} (exception/exception-interceptor)]}
|
||||
["/ok" (fn [_] {:status 200, :body "ok"})]
|
||||
["/fail" (fn [_] (throw (ex-info "kosh" {})))]]))
|
||||
service (-> {:env :dev
|
||||
:io.pedestal.http/type :jetty
|
||||
:io.pedestal.http/port 3000
|
||||
:io.pedestal.http/join? false
|
||||
:io.pedestal.http/request-logger nil
|
||||
service (-> {:io.pedestal.http/request-logger nil
|
||||
:io.pedestal.http/routes []}
|
||||
(io.pedestal.http/default-interceptors)
|
||||
(pedestal/replace-last-interceptor router)
|
||||
|
|
|
|||
Loading…
Reference in a new issue