diff options
| author | Pepper <pepper@scannerjammer.com> | 2017-01-27 16:04:06 -0500 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2017-01-27 16:04:06 -0500 |
| commit | 249c70f9c44a81d5df54ff6e937599c27129930e (patch) | |
| tree | 382a6e20a0a49192bd0cab7e4942f707cd28dd37 /src/config.clj | |
| parent | ae04cd06ba865ee7cfa9b46f8b8c6232a38a7130 (diff) | |
ok moving
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")) |
