aboutsummaryrefslogtreecommitdiff
path: root/cmd/hlang
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-07-29 16:16:17 -0400
committerXe Iaso <me@xeiaso.net>2023-07-29 16:18:31 -0400
commitef73e8be518293efddee401a7e0a01e72185605a (patch)
treef40797b6147f7b1e18f66e5c9ccd09d2881f7dd2 /cmd/hlang
parentb17f20f3e30c4a39033d210f2d86ffd005a9ea76 (diff)
downloadx-ef73e8be518293efddee401a7e0a01e72185605a.tar.xz
x-ef73e8be518293efddee401a7e0a01e72185605a.zip
refactor ln to slog in a few places
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/hlang')
-rw-r--r--cmd/hlang/http.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/hlang/http.go b/cmd/hlang/http.go
index ef496a3..f96704f 100644
--- a/cmd/hlang/http.go
+++ b/cmd/hlang/http.go
@@ -10,7 +10,6 @@ import (
"os"
"github.com/rs/cors"
- "within.website/ln/ex"
"within.website/x/cmd/hlang/run"
)
@@ -27,7 +26,7 @@ func doHTTP() error {
srv := &http.Server{
Addr: ":" + *port,
- Handler: ex.HTTPLog(cors.Default().Handler(http.DefaultServeMux)),
+ Handler: cors.Default().Handler(http.DefaultServeMux),
}
if *sockpath != "" {