different app symbol for standalone

integration-tests
Josha von Gizycki 6 years ago
parent 46c58d6fac
commit c180f7dcf1

@ -34,6 +34,12 @@
vis-routes/routes))
(route/not-found "Not Found"))
(def standalone-app
(-> app-routes
devmode/wrap-devmode
schema-middleware/wrap-user-schemas
wrap-defaults))
(def app
(-> app-routes
devmode/wrap-devmode

@ -4,6 +4,6 @@
(:gen-class))
(defn -main [& args]
(run-jetty wanijo/app
(run-jetty wanijo/standalone-app
{:port (Integer/valueOf (or (System/getenv "port")
"3080"))}))

Loading…
Cancel
Save