mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Misc. fixes and refactorings
This commit is contained in:
parent
c736a98614
commit
5eec0bde3d
10 changed files with 38 additions and 26 deletions
|
|
@ -13,6 +13,9 @@ const m3u8Regex* = re"""url="(.+.m3u8)""""
|
|||
|
||||
proc createMediaRouter*(cfg: Config) =
|
||||
router media:
|
||||
get "/pic/?":
|
||||
resp Http404
|
||||
|
||||
get "/pic/@url":
|
||||
cond "http" in @"url"
|
||||
cond "twimg" in @"url"
|
||||
|
|
|
|||
Loading…
Reference in a new issue