mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add hmacKey config field for video signing
This commit is contained in:
parent
a56f217074
commit
e91e7bcc1e
6 changed files with 18 additions and 9 deletions
|
|
@ -11,6 +11,8 @@ import routes/[
|
|||
const configPath {.strdefine.} = "./nitter.conf"
|
||||
let cfg = getConfig(configPath)
|
||||
|
||||
setHmacKey(cfg.hmacKey)
|
||||
|
||||
createUnsupportedRouter(cfg)
|
||||
createPrefRouter(cfg)
|
||||
createTimelineRouter(cfg)
|
||||
|
|
|
|||
Loading…
Reference in a new issue