From eeca0c0f8ab48aaa632e3703c0e9d920efed3c0f Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 9 Jun 2019 00:17:48 +0000 Subject: cmd/within.website: add ex --- cmd/within.website/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/within.website/main.go b/cmd/within.website/main.go index 4075c73..3ca733a 100644 --- a/cmd/within.website/main.go +++ b/cmd/within.website/main.go @@ -8,6 +8,7 @@ import ( assetfs "github.com/elazarl/go-bindata-assetfs" "github.com/mmikulicic/stringlist" "within.website/ln" + "within.website/ln/ex" "within.website/ln/opname" "within.website/x/internal" "within.website/x/vanity" @@ -96,7 +97,7 @@ func main() { }) ln.Log(ctx, ln.F{"port": *port}, ln.Info("Listening on HTTP")) - http.ListenAndServe(":"+*port, nil) + http.ListenAndServe(":"+*port, ex.HTTPLog(http.DefaultServeMux)) } -- cgit v1.2.3