Add hmacKey config field for video signing
This commit is contained in:
@@ -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")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user