Minor change on backend initialization.

This commit is contained in:
Andrey Antukh 2020-08-18 18:46:39 +02:00
parent 7dd9e8763b
commit 9d8282e1be
2 changed files with 15 additions and 4 deletions

View file

@ -24,11 +24,17 @@
;; --- Entry point
(defn -main
[& args]
(defn run
[params]
(require 'uxbox.config
'uxbox.migrations
'uxbox.worker
'uxbox.media
'uxbox.http
'uxbox.tasks)
'uxbox.http)
(mount/start))
(defn -main
[& args]
(run {}))