mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add defaultTheme config option
This commit is contained in:
parent
b018dbdf27
commit
3e661bab8a
7 changed files with 18 additions and 11 deletions
|
|
@ -21,5 +21,7 @@ proc getConfig*(path: string): Config =
|
|||
hostname: cfg.get("Server", "hostname", "nitter.net"),
|
||||
|
||||
cacheDir: cfg.get("Cache", "directory", "/tmp/nitter"),
|
||||
profileCacheTime: cfg.get("Cache", "profileMinutes", 10)
|
||||
profileCacheTime: cfg.get("Cache", "profileMinutes", 10),
|
||||
|
||||
defaultTheme: cfg.get("Config", "defaultTheme", "Dark")
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue