Add backendInfo api endpoint.

This commit is contained in:
softsimon
2020-05-26 18:06:14 +07:00
parent 5b80b43e2a
commit 68664968da
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)
;
}
}