From c04f384cdbcdc2359b82de4e9fa6e5685ce9b74e Mon Sep 17 00:00:00 2001 From: Baitinq Date: Thu, 30 May 2024 19:07:32 +0200 Subject: rest-api: change route to /api/v1/file/ --- src/rest-api/cmd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rest-api/cmd/main.go b/src/rest-api/cmd/main.go index 98f3722..ff91856 100644 --- a/src/rest-api/cmd/main.go +++ b/src/rest-api/cmd/main.go @@ -63,7 +63,7 @@ func main() { mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, "Hello folks!") }) - mux.Handle("/file/", handler) + mux.Handle("/api/v1/file/", handler) http.ListenAndServe(":8080", mux) } -- cgit 1.4.1