Added Yggdrasil links in utils.
This commit is contained in:
parent
9579bc3c10
commit
ab4ec0216d
@ -32,6 +32,13 @@ function getServiceByHost(host, service="") {
|
|||||||
case "git": return "http://git.arav.i2p";
|
case "git": return "http://git.arav.i2p";
|
||||||
default: return "http://arav.i2p";
|
default: return "http://arav.i2p";
|
||||||
}
|
}
|
||||||
|
else if (host.startsWith("[300")) // Yggdrasil
|
||||||
|
switch (service) {
|
||||||
|
case "radio": return "http://[300:a98d:d6d0:8a08::e]";
|
||||||
|
case "files": return "http://[300:a98d:d6d0:8a08::d]";
|
||||||
|
case "git": return "http://[300:a98d:d6d0:8a08::b]";
|
||||||
|
default: return "http://[300:a98d:d6d0:8a08::f]";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
switch (service) {
|
switch (service) {
|
||||||
case "radio": return "https://radio.arav.top";
|
case "radio": return "https://radio.arav.top";
|
||||||
|
Loading…
Reference in New Issue
Block a user