diff options
| author | Baitinq <[email protected]> | 2024-05-30 19:07:32 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2024-05-30 19:07:32 +0200 |
| commit | c04f384cdbcdc2359b82de4e9fa6e5685ce9b74e (patch) | |
| tree | bded35dbae73bb108ea2cdda0938186333f61812 /src | |
| parent | misc: Rename API_KEY env var to FS_TRACER_API_KEY (diff) | |
| download | fs-tracer-backend-c04f384cdbcdc2359b82de4e9fa6e5685ce9b74e.tar.gz fs-tracer-backend-c04f384cdbcdc2359b82de4e9fa6e5685ce9b74e.tar.bz2 fs-tracer-backend-c04f384cdbcdc2359b82de4e9fa6e5685ce9b74e.zip | |
rest-api: change route to /api/v1/file/
Diffstat (limited to 'src')
| -rw-r--r-- | src/rest-api/cmd/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |