summaryrefslogtreecommitdiff
path: root/src/site.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/site.clj')
-rw-r--r--src/site.clj4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/site.clj b/src/site.clj
index 7fdd5ed..063bc59 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -298,6 +298,9 @@
(resp-success "OK"))
(resp-error "MUST_LOGIN"))))
+(defn upload [session params]
+ "TODO")
+
(defroutes pichat
(GET "/" (landing session))
(GET "/static/*" (or (serve-file "static" (params :*))
@@ -312,6 +315,7 @@
(GET "/chat" (chat session))
(GET "/refresh" (refresh session))
(GET "/msg" (msg session params))
+ (GET "/upload" (upload session))
(ANY "*" [404 "Page not found"]))
(decorate pichat