diff options
| author | Scott Ostler <sostler@deathmachine.home> | 2009-12-21 14:23:10 -0800 |
|---|---|---|
| committer | Scott Ostler <sostler@deathmachine.home> | 2009-12-21 14:23:10 -0800 |
| commit | 458a2627cc6600690fdf78e48b78cf17a6ea4469 (patch) | |
| tree | a465ae1ed43f55e906c5fabb6f76d706947108c2 /src | |
| parent | 704efb06cd424de7411f198bc4c6ce6b99a9dcbe (diff) | |
preupdate
Diffstat (limited to 'src')
| -rw-r--r-- | src/site.clj | 4 |
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 |
