diff --git a/wdm.go b/wdm.go index bbec441..503c2b2 100644 --- a/wdm.go +++ b/wdm.go @@ -41,7 +41,7 @@ func main() { r.HandleFunc("/api/v1/pho", showPhotoHandler).Methods("GET", "OPTIONS") r.HandleFunc("/api/v1/pho/{id:[0-9]+}", getPhotoHandler).Methods("GET", "OPTIONS") r.HandleFunc("/api/v1/pho/itb/{id:[0-9]+}", getPhotoForItbHandler).Methods("GET", "OPTIONS") - r.HandleFunc("/api/v1/pho/itb/{id:[0-9]+}", getPhotoForIteHandler).Methods("GET", "OPTIONS") + r.HandleFunc("/api/v1/pho/ite/{id:[0-9]+}", getPhotoForIteHandler).Methods("GET", "OPTIONS") r.HandleFunc("/api/v1/pho/{id:[0-9]+}", updatePhotoHandler).Methods("PUT", "OPTIONS") r.HandleFunc("/api/v1/meas", createMeasureHandler).Methods("POST", "OPTIONS")