mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-15 16:52:48 -05:00
Refactor hostname to be a runtime option
Add a `hostname` field under Server in your conf file, see the updated nitter.conf in the repo for an example. The compile-time option (-d:hostname) is no longer used.
This commit is contained in:
@@ -172,8 +172,9 @@ type
|
||||
address*: string
|
||||
port*: int
|
||||
useHttps*: bool
|
||||
title*: string
|
||||
staticDir*: string
|
||||
title*: string
|
||||
hostname*: string
|
||||
cacheDir*: string
|
||||
profileCacheTime*: int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user