diff options
author | David Barksdale <amatus@amatus.name> | 2015-12-30 20:02:36 -0600 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2015-12-30 20:49:16 -0600 |
commit | d2c3f6b3650677af2b62011b8a4db3894eab61c8 (patch) | |
tree | 9df01e4fe1eb4882ed81f3c20c6a9bbb04cbef87 /src/app/handler.clj | |
parent | ebf680f220785ad1edf332f2a53493b8d187a11a (diff) |
Move root to /potluck for stupid proxying reasons
Diffstat (limited to 'src/app/handler.clj')
-rw-r--r-- | src/app/handler.clj | 5 |
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 |