From 7fc6daa50ffaf70a4fc0fc2a19353375bcecf2bf Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 1 Aug 2022 01:16:26 +0400 Subject: [PATCH] To MainSite() added an Yggdrasil address. --- pkg/utils/dwelling.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/utils/dwelling.go b/pkg/utils/dwelling.go index 5e18eb2..37ee12b 100644 --- a/pkg/utils/dwelling.go +++ b/pkg/utils/dwelling.go @@ -12,6 +12,8 @@ func MainSite(host string) string { return "http://arav.i2p" } else if strings.Contains(host, "onion") { return "http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion" + } else if strings.HasPrefix(host, "[300") { + return "http://[300:a98d:d6d0:8a08::f]" } return "https://arav.top"