Add backendInfo api endpoint.

This commit is contained in:
softsimon
2020-05-26 18:06:14 +07:00
parent 5a876b1212
commit 3ef81b0092
2 changed files with 8 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ class Server {
.get(config.API_ENDPOINT + 'statistics/3m', routes.get3MStatistics.bind(routes))
.get(config.API_ENDPOINT + 'statistics/6m', routes.get6MStatistics.bind(routes))
.get(config.API_ENDPOINT + 'statistics/1y', routes.get1YStatistics.bind(routes))
.get(config.API_ENDPOINT + 'backend-info', routes.getBackendInfo)
;
}
}