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.
11 lines
247 B
Text
11 lines
247 B
Text
[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
|