aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/handler.clj5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/app/handler.clj b/src/app/handler.clj
index eb0c2a3..0f9cc7b 100644
--- a/src/app/handler.clj
+++ b/src/app/handler.clj
@@ -7,8 +7,9 @@
[simpledb.core :as db]))
(c/defroutes app-routes
- (c/GET "/" req (response/content-type (response/resource-response "index.html") "text/html"))
- (route/resources "/" {:root ""}))
+ (c/GET "/potluck" req (response/redirect "/potluck/"))
+ (c/GET "/potluck/" req (response/content-type (response/resource-response "index.html") "text/html"))
+ (route/resources "/potluck/" {:root ""}))
(def app
(-> app-routes