mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 16:26:11 +02:00
✨ Improve configuration loading.
Removing unnecesary code.
This commit is contained in:
parent
c1dee0dbf7
commit
b98d8519d4
2 changed files with 37 additions and 63 deletions
|
@ -4,6 +4,7 @@
|
|||
[promesa.core :as p]
|
||||
[cuerdas.core :as str]
|
||||
[mount.core :as mount]
|
||||
[environ.core :refer [env]]
|
||||
[datoteka.storages :as st]
|
||||
[uxbox.services.mutations.profile :as profile]
|
||||
[uxbox.services.mutations.projects :as projects]
|
||||
|
@ -19,7 +20,7 @@
|
|||
|
||||
(defn state-init
|
||||
[next]
|
||||
(let [config (cfg/read-test-config)]
|
||||
(let [config (cfg/read-test-config env)]
|
||||
(-> (mount/only #{#'uxbox.config/config
|
||||
#'uxbox.core/system
|
||||
#'uxbox.db/pool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue