18 lines
431 B
Clojure
18 lines
431 B
Clojure
(ns luduverse.handler
|
|
(:require [compojure.core :refer [defroutes]]
|
|
[compojure.route :as route]
|
|
[noir.util.middleware :as middleware]))
|
|
|
|
(defroutes core-routes
|
|
(route/resources "/")
|
|
(route/not-found "Nothing here ..."))
|
|
|
|
(defn init [])
|
|
|
|
(defn destroy [])
|
|
|
|
(def app (middleware/app-handler
|
|
[app-routes]
|
|
:middleware []
|
|
:access-rules []
|
|
:formats [:json-kw :edn]))
|