From adbab105071b3468719fe64c9d084b9f2655ab90 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 1 Aug 2022 01:12:10 +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 63e8a91..ecdd4a9 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"