mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-08 04:55:37 -05:00
Add server config file
This commit is contained in:
@@ -147,5 +147,13 @@ type
|
||||
beginning*: bool
|
||||
query*: Option[Query]
|
||||
|
||||
Config* = ref object
|
||||
address*: string
|
||||
port*: int
|
||||
title*: string
|
||||
staticDir*: string
|
||||
cacheDir*: string
|
||||
profileCacheTime*: int
|
||||
|
||||
proc contains*(thread: Thread; tweet: Tweet): bool =
|
||||
thread.tweets.anyIt(it.id == tweet.id)
|
||||
|
||||
Reference in New Issue
Block a user