projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add stats route
[oweals/peertube.git]
/
server
/
tests
/
utils
/
server
/
stats.ts
1
import { makeGetRequest } from '../'
2
3
function getStats (url: string) {
4
const path = '/api/v1/server/stats'
5
6
return makeGetRequest({
7
url,
8
path,
9
statusCodeExpected: 200
10
})
11
}
12
13
// ---------------------------------------------------------------------------
14
15
export {
16
getStats
17
}