diff options
| author | Christine Dodrill <me@christine.website> | 2019-08-19 13:48:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-19 13:48:21 -0400 |
| commit | a6c66568c8b59563b64f3ad3d2d4f4a36ec53004 (patch) | |
| tree | f4cc2f5094b21ba38df370f1d598c3cfd62f6671 /cmd/site/main.go | |
| parent | eaca47ba372cd933d273fe277f724e64580e0cd7 (diff) | |
| download | xesite-a6c66568c8b59563b64f3ad3d2d4f4a36ec53004.tar.xz xesite-a6c66568c8b59563b64f3ad3d2d4f4a36ec53004.zip | |
Pageview times experiment (#69)
* experiment: track pageview times
* strictly respect do not track
* oops
* asdfasdfasdf
* add blogpost
* fix typos oops
Diffstat (limited to 'cmd/site/main.go')
| -rw-r--r-- | cmd/site/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/site/main.go b/cmd/site/main.go index b7774b1..04d8bc4 100644 --- a/cmd/site/main.go +++ b/cmd/site/main.go @@ -223,6 +223,7 @@ func Build() (*Site, error) { w.Header().Set("Content-Type", "application/xml") _, _ = smi.WriteTo(w) }))) + s.mux.HandleFunc("/api/pageview-timer", handlePageViewTimer) return s, nil } |
