From fe823ae56f297c4ddd46560e25a826e3c5253e5d Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 2 Sep 2021 01:11:28 +0400 Subject: [PATCH] Changed base32 i2p addresses to dns domains. --- homepage/views/index.pug | 8 ++++---- shared/util.js | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/homepage/views/index.pug b/homepage/views/index.pug index d96afa2..1dcfcfc 100644 --- a/homepage/views/index.pug +++ b/homepage/views/index.pug @@ -17,26 +17,26 @@ block content | . a(href='http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion') onion | . - a(href='http://t42fkp6zp5dfqywantq3zp427ig3q2onrmfv246tyaztpg4ckb5a.b32.i2p') i2p + a(href='http://arav.i2p') i2p || span a(href='https://radio.arav.top') radio.arav.top | . a(href='http://wsmkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion') onion | . - a(href='http://plkybcgxt4cdanot75cy3pbnqlbqcsrib2fmrpsnug4bqphqvfda.b32.i2p') i2p + a(href='http://radio.arav.i2p') i2p span a(href='https://files.arav.top') files.arav.top | . a(href='http://qf5e43nlhvnrutmikuvbdfj3cmtthokpbaxtkm6mjlslttzvtgm4fxid.onion') onion | . - a(href='http://gajftpr47ze6ao7e3q2tb5xmcqneyaczu4edzvwwg2qzmnernpka.b32.i2p') i2p + a(href='http://files.arav.i2p') i2p span a(href='https://git.arav.top') git.arav.top | . a(href='http://qqitm7qlsbbubwmjos4cqzmvkqidg34rfnbyhuydhalep33fbvh22xyd.onion') onion | . - a(href='http://p5nkflgogwv4esy3ainup6mgurpugmdyufizhuufauznreyvprsa.b32.i2p') i2p + a(href='http://git.arav.i2p') i2p || a(href='https://arav.neocities.org') arav.neocities.org section diff --git a/shared/util.js b/shared/util.js index dd31eb9..b9a9da9 100644 --- a/shared/util.js +++ b/shared/util.js @@ -29,9 +29,9 @@ exports.getServiceByHost = (host, service="") => { } else if (host.endsWith("i2p")) switch (service) { - case "radio": return "http://plkybcgxt4cdanot75cy3pbnqlbqcsrib2fmrpsnug4bqphqvfda.b32.i2p"; - case "files": return "http://gajftpr47ze6ao7e3q2tb5xmcqneyaczu4edzvwwg2qzmnernpka.b32.i2p"; - default: return "http://t42fkp6zp5dfqywantq3zp427ig3q2onrmfv246tyaztpg4ckb5a.b32.i2p"; + case "radio": return "http://radio.arav.i2p"; + case "files": return "http://files.arav.i2p"; + default: return "http://arav.i2p"; } else switch (service) {