Skip to content

Commit

Permalink
refactor: change api base path to /monitor/api
Browse files Browse the repository at this point in the history
  • Loading branch information
client-side96 committed May 30, 2024
1 parent d5aa935 commit 975ab89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ func NewRouter(statsHandler handlers.IStatsHandler) *Router {

func (r *Router) SetupRoutes() *http.ServeMux {
mux := http.NewServeMux()
mux.HandleFunc("/stats", r.statsHandler.ConnectStatsWS)
mux.HandleFunc("/monitor/api/stats", r.statsHandler.ConnectStatsWS)
return mux
}

0 comments on commit 975ab89

Please sign in to comment.