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
|
|
@ -23,5 +23,6 @@ proc getConfig*(path: string): Config =
|
|||
cacheDir: cfg.get("Cache", "directory", "/tmp/nitter"),
|
||||
profileCacheTime: cfg.get("Cache", "profileMinutes", 10),
|
||||
|
||||
defaultTheme: cfg.get("Config", "defaultTheme", "Dark")
|
||||
defaultTheme: cfg.get("Config", "defaultTheme", "Dark"),
|
||||
hmacKey: cfg.get("Config", "hmacKey", "secretkey")
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue