aboutsummaryrefslogtreecommitdiff
path: root/cmd/within.website
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/within.website')
-rw-r--r--cmd/within.website/main.go3
1 files changed, 2 insertions, 1 deletions
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))
}