Compare commits

..

1 Commits

Author SHA1 Message Date
79735cc0ba fix: config에서 포트를 읽음
All checks were successful
build / build (push) Successful in 4s
2026-03-23 09:08:32 -06:00

View File

@@ -3,7 +3,7 @@
[clojure.tools.logging :as l] [clojure.tools.logging :as l]
[hiccup2.core :as hiccup] [hiccup2.core :as hiccup]
[net.deertopia.doerg.html :as doerg-html] [net.deertopia.doerg.html :as doerg-html]
[net.deertopia.doerg :as-alias doerg] [net.deertopia.publisher :as-alias publisher]
[net.deertopia.publisher.slug :as slug] [net.deertopia.publisher.slug :as slug]
[net.deertopia.publisher.config :as cfg] [net.deertopia.publisher.config :as cfg]
[net.deertopia.publisher.roam :as roam] [net.deertopia.publisher.roam :as roam]
@@ -102,7 +102,7 @@
(throw (ex-info msg {}))) (throw (ex-info msg {})))
(do (reset! server (do (reset! server
(http/run-server (bound-fn* #'app) (http/run-server (bound-fn* #'app)
{:port (-> cfg/*cfg* ::doerg/port) {:port (-> cfg/*cfg* ::publisher/port)
:legacy-return-value? false})) :legacy-return-value? false}))
;; For some reason, the log messages are not flushed before ;; For some reason, the log messages are not flushed before
;; the JVM shuts dowm. Nevertheless, the server /does/ come ;; the JVM shuts dowm. Nevertheless, the server /does/ come