1
0

Onion is back! Also made ab address for an upload service.

This commit is contained in:
Alexander Andreev 2023-06-26 04:07:50 +04:00
parent ac1170b737
commit 053e22d131
Signed by: Arav
GPG Key ID: D22A817D95815393
3 changed files with 22 additions and 9 deletions

View File

@ -43,6 +43,19 @@ func GetServiceByHost(host, service string) string {
default: default:
return "http://[300:a98d:d6d0:8a08::f]" return "http://[300:a98d:d6d0:8a08::f]"
} }
} else if strings.HasSuffix(host, "onion") {
switch service {
case "radio":
return "http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion"
case "files":
return "http://qf5e43nlhvnrutmikuvbdfj3cmtthokpbaxtkm6mjlslttzvtgm4fxid.onion"
case "upload":
return "http://4usftbmjpfexkr2x5xbp5ukmygpmg4fgrnx2wbifsexqctooz5hmviyd.onion"
case "git":
return "http://qqitm7qlsbbubwmjos4cqzmvkqidg34rfnbyhuydhalep33fbvh22xyd.onion"
default:
return "http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion"
}
} else { } else {
switch service { switch service {
case "radio": case "radio":

View File

@ -106,7 +106,7 @@ block content
p p
a(href='https://radio.arav.su') radio.arav.su a(href='https://radio.arav.su') radio.arav.su
| . | .
a(href='http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion') #[s onion] a(href='http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion') onion
| . | .
a(href='http://radio.arav.i2p') i2p a(href='http://radio.arav.i2p') i2p
| . | .
@ -118,7 +118,7 @@ block content
p p
a(href='https://files.arav.su') files.arav.su a(href='https://files.arav.su') files.arav.su
| . | .
a(href='http://qf5e43nlhvnrutmikuvbdfj3cmtthokpbaxtkm6mjlslttzvtgm4fxid.onion') #[s onion] a(href='http://qf5e43nlhvnrutmikuvbdfj3cmtthokpbaxtkm6mjlslttzvtgm4fxid.onion') onion
| . | .
a(href='http://files.arav.i2p') i2p a(href='http://files.arav.i2p') i2p
| . | .
@ -129,7 +129,7 @@ block content
p p
a(href='https://upload.arav.su') upload.arav.su a(href='https://upload.arav.su') upload.arav.su
| . | .
a(href='http://.onion') #[s onion] a(href='http://4usftbmjpfexkr2x5xbp5ukmygpmg4fgrnx2wbifsexqctooz5hmviyd.onion') onion
| . | .
a(href='http://upload.arav.i2p') i2p a(href='http://upload.arav.i2p') i2p
| . | .
@ -140,7 +140,7 @@ block content
p p
a(href='https://git.arav.su') git.arav.su a(href='https://git.arav.su') git.arav.su
| . | .
a(href='http://qqitm7qlsbbubwmjos4cqzmvkqidg34rfnbyhuydhalep33fbvh22xyd.onion') #[s onion] a(href='http://qqitm7qlsbbubwmjos4cqzmvkqidg34rfnbyhuydhalep33fbvh22xyd.onion') onion
| . | .
a(href='http://git.arav.i2p') i2p a(href='http://git.arav.i2p') i2p
| . | .

View File

@ -19,7 +19,7 @@ block content
span span
a(href='https://arav.su') arav.su a(href='https://arav.su') arav.su
| . | .
a(href='http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion') #[s onion] a(href='http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion') onion
| . | .
a(href='http://[300:a98d:d6d0:8a08::f]') ygg a(href='http://[300:a98d:d6d0:8a08::f]') ygg
| . | .
@ -30,7 +30,7 @@ block content
span span
a(href='https://radio.arav.su') radio a(href='https://radio.arav.su') radio
| . | .
a(href='http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion') #[s onion] a(href='http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion') onion
| . | .
a(href='http://[300:a98d:d6d0:8a08::e]') ygg a(href='http://[300:a98d:d6d0:8a08::e]') ygg
| . | .
@ -39,7 +39,7 @@ block content
span span
a(href='https://files.arav.su') files a(href='https://files.arav.su') files
| . | .
a(href='http://qf5e43nlhvnrutmikuvbdfj3cmtthokpbaxtkm6mjlslttzvtgm4fxid.onion') #[s onion] a(href='http://qf5e43nlhvnrutmikuvbdfj3cmtthokpbaxtkm6mjlslttzvtgm4fxid.onion') onion
| . | .
a(href='http://[300:a98d:d6d0:8a08::d]') ygg a(href='http://[300:a98d:d6d0:8a08::d]') ygg
| . | .
@ -48,7 +48,7 @@ block content
span span
a(href='https://upload.arav.su') upload a(href='https://upload.arav.su') upload
| . | .
a(href='#') #[s onion] a(href='http://4usftbmjpfexkr2x5xbp5ukmygpmg4fgrnx2wbifsexqctooz5hmviyd.onion') onion
| . | .
a(href='http://[300:a98d:d6d0:8a08::c]') ygg a(href='http://[300:a98d:d6d0:8a08::c]') ygg
| . | .
@ -57,7 +57,7 @@ block content
span span
a(href='https://git.arav.su') git a(href='https://git.arav.su') git
| . | .
a(href='http://qqitm7qlsbbubwmjos4cqzmvkqidg34rfnbyhuydhalep33fbvh22xyd.onion') #[s onion] a(href='http://qqitm7qlsbbubwmjos4cqzmvkqidg34rfnbyhuydhalep33fbvh22xyd.onion') onion
| . | .
a(href='http://[300:a98d:d6d0:8a08::b]') ygg a(href='http://[300:a98d:d6d0:8a08::b]') ygg
| . | .