diff options
author | Kali Kaneko <kali@leap.se (leap communications)> | 2019-07-31 16:36:25 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se (leap communications)> | 2019-07-31 16:36:25 +0200 |
commit | eb5118859e659e15d0c979c7ac005110d88d9780 (patch) | |
tree | bbf283ffaa18277d8bbba9d74cc3889ab94c168b | |
parent | b15b36c04bf7ecb94530feb64fb1cfbee428d688 (diff) |
fix eip-service url
-rw-r--r-- | main.go | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -65,13 +65,11 @@ func main() { ch := certHandler{ci} // add routes here - http.HandleFunc("/1/cert", ch.certResponder) http.HandleFunc("/3/cert", ch.certResponder) - httpFileHandler("/1/ca.crt", "./public/ca.crt") - httpFileHandler("/1/configs.json", "./public/1/configs.json") - httpFileHandler("/1/service.json", "./public/1/service.json") + 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/eip-service.json", "./public/3/eip-service.json") + httpFileHandler("/3/config/eip-service.json", "./public/3/eip-service.json") pstr := ":" + strconv.Itoa(*port) |