aboutsummaryrefslogtreecommitdiff
path: root/src/pics/routes.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/pics/routes.clj')
-rw-r--r--src/pics/routes.clj3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pics/routes.clj b/src/pics/routes.clj
index 31edd63..4646829 100644
--- a/src/pics/routes.clj
+++ b/src/pics/routes.clj
@@ -7,8 +7,7 @@
[pics.handler.view :as phview]))
(def ^:private router
- (rring/router [["/" {:get {:handler phhome/handle}}]
- ["/api/upload" {:post {:handler phupload/handle}}]
+ (rring/router [["/api/upload" {:post {:handler phupload/handle}}]
["/src/:file-name" {:get {:handler phview/handle-src}}]
["/:id" {:get {:handler phview/handle}}]]))