mirror of
https://github.com/bitvora/wot-relay.git
synced 2025-08-22 20:39:28 +00:00
don't force env update
This commit is contained in:
parent
c0093880c0
commit
1758708e9a
8
main.go
8
main.go
@ -188,6 +188,14 @@ func LoadConfig() Config {
|
|||||||
os.Setenv("ARCHIVAL_SYNC", "TRUE")
|
os.Setenv("ARCHIVAL_SYNC", "TRUE")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if os.Getenv("RELAY_ICON") == "" {
|
||||||
|
os.Setenv("RELAY_ICON", "https://pfp.nostr.build/56306a93a88d4c657d8a3dfa57b55a4ed65b709eee927b5dafaab4d5330db21f.png")
|
||||||
|
}
|
||||||
|
|
||||||
|
if os.Getenv("RELAY_CONTACT") == "" {
|
||||||
|
os.Setenv("RELAY_CONTACT", getEnv("RELAY_PUBKEY"))
|
||||||
|
}
|
||||||
|
|
||||||
minimumFollowers, _ := strconv.Atoi(os.Getenv("MINIMUM_FOLLOWERS"))
|
minimumFollowers, _ := strconv.Atoi(os.Getenv("MINIMUM_FOLLOWERS"))
|
||||||
|
|
||||||
config := Config{
|
config := Config{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user