Skip to content
Browse files

byr.web: No need for route/resources.

There's only one resource we want to serve, and that's handled by the
"/" route, so remove the route/resources route.

Signed-off-by: Gergely Nagy <>
  • Loading branch information...
1 parent 84d69b8 commit 8390dd2c6784b018890400d32ac32fb93da19062 @algernon committed Jul 22, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/byr/web.clj
1 src/byr/web.clj
@@ -50,7 +50,6 @@
(GET "/:id" [id] (byr-redirect id))
(POST "/" [longurl] (byr-add-uri longurl))
(POST "/:id" [id longurl] (byr-add-uri id longurl))
- (route/resources "/")
(route/not-found (-> "Not found"
(resp/content-type "text/plain"))))

0 comments on commit 8390dd2

Please sign in to comment.
Something went wrong with that request. Please try again.