summaryrefslogtreecommitdiff
path: root/src/site.clj
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2011-01-13 01:32:10 -0500
committerScott Ostler <scottbot9000@gmail.com>2011-01-13 01:32:10 -0500
commit6a0015db5563dc5fe7a54672581b8d59f0fd23e7 (patch)
tree2a41cc0b4df765b22bff4d8948a96e6ea3ac0483 /src/site.clj
parent7d68c6986c0ba08dcb4c2f3dcca318584021099c (diff)
Add fallthrough routes for static/post routeset
Diffstat (limited to 'src/site.clj')
-rw-r--r--src/site.clj6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/site.clj b/src/site.clj
index 5b20361..c63a6cb 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -1186,7 +1186,8 @@ WHERE user_id IN
(GET "/irlhell" (redirect-to "/irhell/"))
(GET "/irhell" (redirect-to "/irhell/"))
(GET "/irhell/" (serve-static "static/319" "irhell.html"))
- (GET "/irhell/*" (serve-static "static/319" (params :*))))
+ (GET "/irhell/*" (serve-static "static/319" (params :*)))
+ (ANY "*" (unknown-page)))
@@ -1331,7 +1332,8 @@ WHERE user_id IN
(defroutes multipart
(POST "/upload/message" (upload session params request))
(POST "/upload/photo" (upload-photo session params))
- (POST "/upload/avatar" (upload-avatar session params)))
+ (POST "/upload/avatar" (upload-avatar session params))
+ (ANY "*" (unknown-page)))
;; Add jpeg to list
(def mimetypes