From 503830c7edb3e3d9b0f4e2b52486ec9ba849b6c6 Mon Sep 17 00:00:00 2001 From: Folcon Date: Mon, 27 Apr 2026 21:40:22 +0100 Subject: [PATCH] Changed throw-if-port-in-use! to not hardcode 8080 throw-if-port-in-use! doesn't use the port value so if you set a different port, you'll still throw --- src/hyperlith/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperlith/core.clj b/src/hyperlith/core.clj index 50f4b9a..94f30b8 100644 --- a/src/hyperlith/core.clj +++ b/src/hyperlith/core.clj @@ -121,7 +121,7 @@ [{:keys [port ctx-start ctx-stop max-refresh-ms on-error] :or {port 8080 on-error er/default-on-error}}] - (throw-if-port-in-use! 8080) + (throw-if-port-in-use! port) (let [