From 809173e47ccfdc2ad25974145ca5af042cc3a55f Mon Sep 17 00:00:00 2001 From: Christopher Coco Date: Wed, 28 Sep 2011 01:05:11 -0700 Subject: [PATCH] Added debug to figure out the set redis url. --- src/smally_clojure/views/smally.clj | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/smally_clojure/views/smally.clj b/src/smally_clojure/views/smally.clj index 24eb66d..c64ad71 100644 --- a/src/smally_clojure/views/smally.clj +++ b/src/smally_clojure/views/smally.clj @@ -25,14 +25,6 @@ [:title "smal.ly"]] [:body content])) - -(defn split-redis-url [url] - "Parse the redis url from heroku, eg. redis://redistogo:207d220de51ee4e95454bb89796a6d22@filefish.redistogo.com:9883/" - ) - -(defn maybe-init [] - "Checks the connection to initialize." - ) (defn next-val "Looks up the next counter value in Redis" @@ -58,6 +50,7 @@ (defn get-name [handler] (fn [request] + (println (get (System/getenv) "REDISTOGO_URL")) (session/put! :uri (str "http://" (get request :server-name) ":" (get request :server-port))) (handler request)))