From 2e04c93cd285458210f9ab05a2569e11c651f733 Mon Sep 17 00:00:00 2001 From: YouROK <8YouROK8@mail.ru> Date: Mon, 13 Feb 2023 12:36:19 +0300 Subject: [PATCH] fix db link --- server/rutor/rutor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/rutor/rutor.go b/server/rutor/rutor.go index 016991a..ed44794 100644 --- a/server/rutor/rutor.go +++ b/server/rutor/rutor.go @@ -53,7 +53,7 @@ func Stop() { time.Sleep(time.Millisecond * 1500) } -// https://github.com/yourok-0001/releases/raw/master/torr/rutor.ls +// http://releases.yourok.ru/torr/rutor.ls func updateDB() bool { log.TLogln("Update rutor db") fnTmp := filepath.Join(settings.Path, "rutor.tmp") @@ -63,7 +63,7 @@ func updateDB() bool { return false } - resp, err := http.Get("https://github.com/yourok-0001/releases/raw/master/torr/rutor.ls") + resp, err := http.Get("http://releases.yourok.ru/torr/rutor.ls") if err != nil { log.TLogln("Error connect to rutor db:", err) out.Close()