diff options
author | Tim <contact@bytim.eu> | 2025-04-20 23:26:33 +0200 |
---|---|---|
committer | Tim <contact@bytim.eu> | 2025-04-20 23:26:33 +0200 |
commit | b13e679aa5370d1e27cf7037e0f0a325bdf018cc (patch) | |
tree | 9500db409987bc84ce7a2659bb7a341ca451d24b /src/pics/routes.clj | |
download | pics-b13e679aa5370d1e27cf7037e0f0a325bdf018cc.tar.xz pics-b13e679aa5370d1e27cf7037e0f0a325bdf018cc.zip |
Initial commit
Diffstat (limited to 'src/pics/routes.clj')
-rw-r--r-- | src/pics/routes.clj | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pics/routes.clj b/src/pics/routes.clj new file mode 100644 index 0000000..67793f9 --- /dev/null +++ b/src/pics/routes.clj @@ -0,0 +1,10 @@ +(ns pics.routes + (:require [reitit.ring :as rring] + + [pics.handler.home :as phhome])) + +(def ^:private router + (rring/router [["/" {:get {:handler phhome/handle}}]])) + +(def ring-handler + (rring/ring-handler router)) |