mirror of
https://github.com/zedeus/nitter.git
synced 2024-11-15 21:21:09 +00:00
11 lines
235 B
Nim
11 lines
235 B
Nim
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||
|
import jester
|
||
|
import router_utils
|
||
|
import ".."/[tokens, types]
|
||
|
|
||
|
proc createDebugRouter*(cfg: Config) =
|
||
|
router debug:
|
||
|
get "/.tokens":
|
||
|
cond cfg.enableDebug
|
||
|
respJson getPoolJson()
|