From 007cbb9337966fe0d038d41355682472d674ee2f Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Mon, 21 Jan 2019 16:40:17 -0600 Subject: [PATCH] change data URI for compatibility with viewing offline data --- pkg/ui/ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ui/ui.go b/pkg/ui/ui.go index 0489d83..3b699e0 100644 --- a/pkg/ui/ui.go +++ b/pkg/ui/ui.go @@ -9,7 +9,7 @@ import ( func Run(store event.Store) { http.Handle("/", http.FileServer(http.Dir("./static"))) - http.HandleFunc("/data", store.JSONHandler) + http.HandleFunc("/data.json", store.JSONHandler) glog.Infof("Listening on :3000") http.ListenAndServe(":3000", nil) }