mirror of
https://github.com/zedeus/nitter
synced 2024-11-16 15:06:36 +01:00
de62eedea5
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.
12 lines
247 B
Plaintext
12 lines
247 B
Plaintext
[Server]
|
|
address = "0.0.0.0"
|
|
port = 8080
|
|
https = true # disable to enable cookies when not using https
|
|
staticDir = "./public"
|
|
title = "nitter"
|
|
hostname = "nitter.net"
|
|
|
|
[Cache]
|
|
directory = "./tmp"
|
|
profileMinutes = 10 # how long to cache profiles
|