mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
♻️ Refactor configuration validation
Replace spec with schema
This commit is contained in:
parent
0a86d9d515
commit
9174bb140b
14 changed files with 267 additions and 344 deletions
|
@ -524,6 +524,7 @@
|
|||
|
||||
(defn start
|
||||
[]
|
||||
(cf/validate!)
|
||||
(ig/load-namespaces (merge system-config worker-config))
|
||||
(alter-var-root #'system (fn [sys]
|
||||
(when sys (ig/halt! sys))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue