mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add /.tokens debug endpoint to see token pool
This commit is contained in:
parent
dd71e60f35
commit
f9c9b0d3a4
3 changed files with 22 additions and 1 deletions
|
|
@ -42,3 +42,6 @@ template getCursor*(req: Request): string =
|
|||
|
||||
proc getNames*(name: string): seq[string] =
|
||||
name.strip(chars={'/'}).split(",").filterIt(it.len > 0)
|
||||
|
||||
template respJson*(body: string) =
|
||||
resp body, "application/json"
|
||||
|
|
|
|||
Loading…
Reference in a new issue