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 | |
parent | ebf680f220785ad1edf332f2a53493b8d187a11a (diff) |
Move root to /potluck for stupid proxying reasons
-rw-r--r-- | assets/css/main.css | 16 | ||||
-rw-r--r-- | src/app/handler.clj | 5 |
2 files changed, 11 insertions, 10 deletions
diff --git a/assets/css/main.css b/assets/css/main.css index 420e2ba..c82fd4b 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,25 +1,25 @@ @font-face { font-family: "Proxima-light"; - src: url("/fonts/proximanova/proximanova-light/proximanova-light.eot"); - src: url("/fonts/proximanova/proximanova-light/proximanova-light.eot?#iefix") format("embedded-opentype"),url("/fonts/proximanova/proximanova-light/proximanova-light.woff?2") format("woff"),url("/fonts/proximanova/proximanova-light/proximanova-light.ttf?2") format("truetype"),url("/fonts/proximanova/proximanova-light/proximanova-light.svg#svgFontName") format("svg") + src: url("../fonts/proximanova/proximanova-light/proximanova-light.eot"); + src: url("../fonts/proximanova/proximanova-light/proximanova-light.eot?#iefix") format("embedded-opentype"),url("../fonts/proximanova/proximanova-light/proximanova-light.woff?2") format("woff"),url("../fonts/proximanova/proximanova-light/proximanova-light.ttf?2") format("truetype"),url("../fonts/proximanova/proximanova-light/proximanova-light.svg#svgFontName") format("svg") } @font-face { font-family: "Proxima-regular"; - src: url("/fonts/proximanova/proximanova-regular/proximanova-regular.eot"); - src: url("/fonts/proximanova/proximanova-regular/proximanova-regular.eot?#iefix") format("embedded-opentype"),url("/fonts/proximanova/proximanova-regular/proximanova-regular.woff?2") format("woff"),url("/fonts/proximanova/proximanova-regular/proximanova-regular.ttf?2") format("truetype"),url("/fonts/proximanova/proximanova-regular/proximanova-regular.svg#svgFontName") format("svg") + src: url("../fonts/proximanova/proximanova-regular/proximanova-regular.eot"); + src: url("../fonts/proximanova/proximanova-regular/proximanova-regular.eot?#iefix") format("embedded-opentype"),url("../fonts/proximanova/proximanova-regular/proximanova-regular.woff?2") format("woff"),url("../fonts/proximanova/proximanova-regular/proximanova-regular.ttf?2") format("truetype"),url("../fonts/proximanova/proximanova-regular/proximanova-regular.svg#svgFontName") format("svg") } @font-face { font-family: "Proxima-semibold"; - src: url("/fonts/proximanova/proximanova-semibold/proximanova-semibold.eot"); - src: url("/fonts/proximanova/proximanova-semibold/proximanova-semibold.eot?#iefix") format("embedded-opentype"),url("/fonts/proximanova/proximanova-semibold/proximanova-semibold.woff?2") format("woff"),url("/fonts/proximanova/proximanova-semibold/proximanova-semibold.ttf?2") format("truetype"),url("/fonts/proximanova/proximanova-semibold/proximanova-semibold.svg#svgFontName") format("svg") + src: url("../fonts/proximanova/proximanova-semibold/proximanova-semibold.eot"); + src: url("../fonts/proximanova/proximanova-semibold/proximanova-semibold.eot?#iefix") format("embedded-opentype"),url("../fonts/proximanova/proximanova-semibold/proximanova-semibold.woff?2") format("woff"),url("../fonts/proximanova/proximanova-semibold/proximanova-semibold.ttf?2") format("truetype"),url("../fonts/proximanova/proximanova-semibold/proximanova-semibold.svg#svgFontName") format("svg") } @font-face { font-family: "Proxima-bold"; - src: url("/fonts/proximanova/proximanova-bold/proximanova-bold.eot"); - src: url("/fonts/proximanova/proximanova-bold/proximanova-bold.eot?#iefix") format("embedded-opentype"),url("/fonts/proximanova/proximanova-bold/proximanova-bold.woff?2") format("woff"),url("/fonts/proximanova/proximanova-bold/proximanova-bold.ttf?2") format("truetype"),url("/fonts/proximanova/proximanova-bold/proximanova-bold.svg#svgFontName") format("svg") + src: url("../fonts/proximanova/proximanova-bold/proximanova-bold.eot"); + src: url("../fonts/proximanova/proximanova-bold/proximanova-bold.eot?#iefix") format("embedded-opentype"),url("../fonts/proximanova/proximanova-bold/proximanova-bold.woff?2") format("woff"),url("../fonts/proximanova/proximanova-bold/proximanova-bold.ttf?2") format("truetype"),url("../fonts/proximanova/proximanova-bold/proximanova-bold.svg#svgFontName") format("svg") } body { color: #383f45; 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 |