From 91c2af4d13e56794843ab054061f5d010afa67cb Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Mon, 16 Aug 2021 09:51:42 +0300 Subject: [PATCH] remove rutor from dn --- server/web/api/torrents.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/web/api/torrents.go b/server/web/api/torrents.go index cc11669..396403f 100644 --- a/server/web/api/torrents.go +++ b/server/web/api/torrents.go @@ -91,6 +91,7 @@ func addTorrent(req torrReqJS, c *gin.Context) { if tor.Title == "" { tor.Title = torrSpec.DisplayName // prefer dn over name + tor.Title = strings.ReplaceAll(tor.Title, "rutor.info", "") if tor.Title == "" { tor.Title = tor.Name() }