From bc4f7b5837c9cd475858742d810023e1d9fc5d64 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 17 Sep 2019 19:03:03 -0600 Subject: add simple provider.json --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index a66a281..8992dae 100644 --- a/main.go +++ b/main.go @@ -66,10 +66,12 @@ func main() { // add routes here http.HandleFunc("/3/cert", ch.certResponder) - httpFileHandler("/3/ca.crt", "./public/ca.crt") httpFileHandler("/3/configs.json", "./public/3/configs.json") httpFileHandler("/3/service.json", "./public/3/service.json") httpFileHandler("/3/config/eip-service.json", "./public/3/eip-service.json") + httpFileHandler("/provider.json", "./public/provider.json") + httpFileHandler("/ca.crt", "./public/ca.crt") + httpFileHandler("/3/ca.crt", "./public/ca.crt") pstr := ":" + strconv.Itoa(*port) -- cgit v1.2.3