diff options
| author | yo mama <pepper@scannerjammer.com> | 2017-06-17 17:50:31 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2017-06-17 17:50:31 -0700 |
| commit | 25b74138d68ade87689e714f10e1f3116da5bbee (patch) | |
| tree | a0f6300c425e95814bd864428b8b829fcc513333 /src/config.clj | |
| parent | 183610646a0967d4ebd41c477156ab472d057ff3 (diff) | |
| parent | 0bd3046614241f7f7b7b2f329c6e06d9f5713ac1 (diff) | |
Merge branch 'master' of http://git.ghghgh.us/dumpfm_mirror
Diffstat (limited to 'src/config.clj')
| -rwxr-xr-x[-rw-r--r--] | src/config.clj | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/config.clj b/src/config.clj index b6abfb5..1481855 100644..100755 --- a/src/config.clj +++ b/src/config.clj @@ -7,12 +7,15 @@ (def *server-url* (if (= *server-user* "dumpfmprod") - "http://dump.fm" - "http://localhost:8080")) + ;"http://dump.fm" + "http://asdf.us:8080")) (def *cookie-domain* (if (= *server-user* "dumpfmprod") - ".dump.fm" + ;".dump.fm" ; is this ok or should I comment this too? this too + ; not clojure specialist, but all this stuff doesn't look good, app should be able to run from any location and still work as usual, domains shouldn't + ; be hardcoded at all. in html paths can be relative, which removes need to figure out which domain you running app on. I hear you, + ; let's just get it working though, right? sure "")) (def db-server @@ -22,7 +25,8 @@ (def redis-server (if (= *server-user* "dumpfmprod") - {:host "192.168.156.111" :port 6379 :db 0 } + ;{:host "192.168.156.111" :port 6379 :db 0 } ;these ip addresses need to change right? yes should I try deleting this? or statically + ;setting it to my public ip? why public ip, it should be just 127.0.0.1 or something like redis.dump.fm if you plan to have more than one server. {:host "127.0.0.1" :port 6379 :db 0 })) (def *root-directory* (System/getProperty "user.dir")) |
