diff options
| author | Christine Dodrill <me@christine.website> | 2019-06-09 00:17:48 +0000 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2019-06-09 00:17:48 +0000 |
| commit | eeca0c0f8ab48aaa632e3703c0e9d920efed3c0f (patch) | |
| tree | 7f2a4156294766a7736221d3df9417e262c6476b /cmd/within.website | |
| parent | f4f01bec1ea3bef34378c44e0e5794ba377a55f3 (diff) | |
| download | x-eeca0c0f8ab48aaa632e3703c0e9d920efed3c0f.tar.xz x-eeca0c0f8ab48aaa632e3703c0e9d920efed3c0f.zip | |
cmd/within.website: add ex
Diffstat (limited to 'cmd/within.website')
| -rw-r--r-- | cmd/within.website/main.go | 3 |
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)) } |
