aboutsummaryrefslogtreecommitdiff
path: root/cmd/server/hits.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/server/hits.go')
-rw-r--r--cmd/server/hits.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/server/hits.go b/cmd/server/hits.go
index 8c0d703..af06757 100644
--- a/cmd/server/hits.go
+++ b/cmd/server/hits.go
@@ -13,7 +13,10 @@ import (
"src.userspace.com.au/sws"
)
-const gif = "R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
+const (
+ endpoint = "//stats.userspace.com.au/sws.gif"
+ gif = "R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
+)
func handleHits(db sws.HitStore) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {