diff options
| author | jackyzha0 <[email protected]> | 2020-05-09 14:32:24 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-05-09 14:32:24 -0700 |
| commit | c9019b70c1f1828b197a4ae2595b87592cb256d9 (patch) | |
| tree | e500671c1422bc7a99a122e9003ac6c660949757 /api/api.go | |
| parent | working mongo doc add (diff) | |
| download | ctrl-v-c9019b70c1f1828b197a4ae2595b87592cb256d9.tar.xz ctrl-v-c9019b70c1f1828b197a4ae2595b87592cb256d9.zip | |
ip changes and remove some debug
Diffstat (limited to 'api/api.go')
| -rw-r--r-- | api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ func Serve(port int) { // Define Mux Router r := mux.NewRouter() r.HandleFunc("/health", healthCheckFunc) - r.HandleFunc("/", insertFunc).Methods("POST") + r.HandleFunc("/api", insertFunc).Methods("POST") http.Handle("/", r) |