msot
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
(ns auto-ap.handler
|
||||
(:require [amazonica.core :refer [defcredential]]
|
||||
[auto-ap.client-routes :as client-routes]
|
||||
[auto-ap.datomic :refer [conn pull-many]]
|
||||
[auto-ap.graphql.utils :refer [extract-client-ids limited-clients]]
|
||||
[auto-ap.logging :as alog]
|
||||
@@ -54,7 +53,6 @@
|
||||
|
||||
(def all-routes ["/" (-> (into []
|
||||
(deep-merge ssr-routes/routes
|
||||
(second client-routes/routes)
|
||||
graphql/routes
|
||||
ezcater/routes
|
||||
health/routes
|
||||
@@ -86,13 +84,7 @@
|
||||
(merge auth/match->handler)
|
||||
(merge invoices/match->handler)
|
||||
(merge exports/match->handler)
|
||||
(merge
|
||||
(into {}
|
||||
(map
|
||||
|
||||
(fn [k]
|
||||
[k render-index])
|
||||
client-routes/all-matches)))))
|
||||
))
|
||||
|
||||
(def match->handler
|
||||
(fn [route]
|
||||
|
||||
Reference in New Issue
Block a user