mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Store preferences in cookies, add config defaults
This commit is contained in:
parent
517d9144f6
commit
312ff78628
9 changed files with 112 additions and 112 deletions
|
|
@ -10,7 +10,9 @@ import routes/[
|
|||
unsupported, embed, resolver]
|
||||
|
||||
const configPath {.strdefine.} = "./nitter.conf"
|
||||
let cfg = getConfig(configPath)
|
||||
let (cfg, fullCfg) = getConfig(configPath)
|
||||
|
||||
updateDefaultPrefs(fullCfg)
|
||||
|
||||
setHmacKey(cfg.hmacKey)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue