Skip to content

Commit

Permalink
change data URI for compatibility with viewing offline data
Browse files Browse the repository at this point in the history
  • Loading branch information
sjenning committed Jan 21, 2019
1 parent 149d367 commit 007cbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 007cbb9

Please sign in to comment.