Change client metrics api path to client_perf (#26985)

Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2024-05-09 22:19:08 +02:00
коммит произвёл GitHub
родитель 6c674c7331
Коммит f0121d4f23
6 изменённых файлов: 22 добавлений и 22 удалений

Просмотреть файл

@@ -11,7 +11,7 @@ import (
)
func (api *API) InitClientPerformanceMetrics() {
api.BaseRoutes.APIRoot.Handle("/perf", api.APISessionRequired(submitPerformanceReport)).Methods("POST")
api.BaseRoutes.APIRoot.Handle("/client_perf", api.APISessionRequired(submitPerformanceReport)).Methods("POST")
}
func submitPerformanceReport(c *Context, w http.ResponseWriter, r *http.Request) {