updating database url.

This commit is contained in:
Bryce Covert
2020-09-14 11:09:59 -07:00
parent f12337db8e
commit 4320c129ce
3 changed files with 5 additions and 2 deletions

View File

@@ -3,9 +3,10 @@
[clj-time.coerce :as coerce]
[datomic.api :as d]
[clojure.tools.logging :as log]
[mount.core :as mount]))
[mount.core :as mount]
[config.core :refer [env]]))
(def uri "datomic:ddb://us-east-1/integreat/integreat-prod")
(def uri (:datomic-url env))
(mount/defstate conn
:start (d/connect uri)