diff --git a/src/com/eldrix/hermes/server.clj b/src/com/eldrix/hermes/server.clj index 293a9433..afb6ff3e 100644 --- a/src/com/eldrix/hermes/server.clj +++ b/src/com/eldrix/hermes/server.clj @@ -197,10 +197,12 @@ ["/v1/snomed/crossmap/:refset-id/:code" :get (conj common-routes get-map-from)] ["/v1/snomed/search" :get [service-error-handler coerce-body content-neg-intc entity-render get-search]]})) +;; TODO(mw): make a configuration option (def service-map {::http/routes routes ::http/type :jetty - ::http/port 8081}) + ::http/port 8081 + ::http/host "0.0.0.0"}) (defn start-server ([svc port] (start-server svc port true))