mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 07:11:32 -05:00
✨ Minor change on backend initialization.
This commit is contained in:
parent
7dd9e8763b
commit
9d8282e1be
2 changed files with 15 additions and 4 deletions
|
@ -74,6 +74,11 @@
|
|||
mockery/mockery {:mvn/version "0.1.4"}}
|
||||
:extra-paths ["tests"]}
|
||||
|
||||
|
||||
{:fn-run
|
||||
{:fn app.main/run
|
||||
:args {}}
|
||||
|
||||
:fn-media-loader
|
||||
{:fn uxbox.cli.media-loader/run
|
||||
:args {}}
|
||||
|
|
|
@ -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 {}))
|
||||
|
|
Loading…
Add table
Reference in a new issue