dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 775b77b2d918a1d249d82ea5ff764fbb3be0aed4
parent bbaefa738af8ceaf5de6636357611f1b8f0e94b7
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun, 31 Dec 2023 11:43:33 -0500

dead links

Diffstat:
Mpkg/config/config.go | 2--
Mpkg/database/utils/processMessage.go | 4----
2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/pkg/config/config.go b/pkg/config/config.go @@ -37,13 +37,11 @@ const ( DkfGitOnion = "http://git.dkforestseeaaq2dqz2uflmlsybvnq2irzn4ygyvu53oazyorednviid.onion" I2pGitOnion = "http://git.dkforest4gwaceahf4te3vs7ycddtbpf2lucocxdzhphezikdgnq.b32.i2p" DkfGit1Onion = "http://yylovpz7taca7jfrub3wltxabzzjp34fngj5lpwl6eo47ekt5cxs6mid.onion" - ChattorOnion = "http://chattorwozgwecrzzbchyhvxiyomny6jn4ac2njc22ozgwg42bhtupad.onion" DreadOnion = "http://dreadytofatroptsdj6io7l3xptbet6onoyno2yv7jicoxknyazubrad.onion" BhcOnion = "http://blkhatjxlrvc5aevqzz5t6kxldayog6jlx5h7glnu44euzongl4fh5ad.onion" CryptbbOnion = "http://cryptbbtg65gibadeeo2awe3j7s6evg7eklserehqr4w4e2bis5tebid.onion" DnmxOnion = "http://hxuzjtocnzvv5g2rtg2bhwkcbupmk7rclb6lly3fo4tvqkk5oyrv3nid.onion" WhonixOnion = "http://dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion" - LulbinsOnion = "http://4dalulzr3mmfyyvrohcyxyjniyueqflknbsnetnflvsai7up3taei3yd.onion" AgeUrl = "https://github.com/FiloSottile/age" ) diff --git a/pkg/database/utils/processMessage.go b/pkg/database/utils/processMessage.go @@ -471,8 +471,6 @@ func convertLinks(in string, {"http://blkhat.onion", config.BhcOnion}, {"http://dnmx.onion", config.DnmxOnion}, {"http://whonix.onion", config.WhonixOnion}, - {"http://chattor.onion", config.ChattorOnion}, - {"http://lulbins.onion", config.LulbinsOnion}, } newRest := linkOrProfileRgx.ReplaceAllStringFunc(rest, func(link string) string { @@ -827,8 +825,6 @@ func convertBangShortcuts(html string) string { "!dnmx", config.DnmxOnion, "!whonix", config.WhonixOnion, "!age", config.AgeUrl, - "!chattor", config.ChattorOnion, - "!lulbins", config.LulbinsOnion, ) return r.Replace(html) }