mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Rename accounts/guest accounts to sessions
The new file loaded by default is now ./sessions.jsonl JSONL is also required, .json support dropped.
This commit is contained in:
parent
afad55749b
commit
6fcd849eff
10 changed files with 113 additions and 119 deletions
|
|
@ -6,8 +6,8 @@ import ".."/[auth, types]
|
|||
proc createDebugRouter*(cfg: Config) =
|
||||
router debug:
|
||||
get "/.health":
|
||||
respJson getAccountPoolHealth()
|
||||
respJson getSessionPoolHealth()
|
||||
|
||||
get "/.accounts":
|
||||
get "/.sessions":
|
||||
cond cfg.enableDebug
|
||||
respJson getAccountPoolDebug()
|
||||
respJson getSessionPoolDebug()
|
||||
|
|
|
|||
Loading…
Reference in a new issue