It looks okay now.
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
[ring.middleware.json :refer [wrap-json-response]]))
|
||||
|
||||
(defroutes app-routes
|
||||
(GET "/hi" [] "hello")
|
||||
(GET "/" [] (response/resource-response "index.html" {:root "public"}))
|
||||
(POST "/pdf-upload"
|
||||
{{ files "file"} :params :as params}
|
||||
@@ -22,6 +21,9 @@
|
||||
"date" date
|
||||
"total" total})))
|
||||
(route/resources "/")
|
||||
(routes (ANY "*" [] (response/resource-response "index.html" {:root "public"})))
|
||||
|
||||
|
||||
(route/not-found "Not Found"))
|
||||
|
||||
#_(defroutes routes
|
||||
|
||||
Reference in New Issue
Block a user