From b555fb50fbe96a0dc77d9b102187a9d31c9adda0 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Tue, 24 Sep 2024 14:07:36 +0800 Subject: [PATCH] fix cdn tx --- library/mediafiller/mediafiller.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/mediafiller/mediafiller.go b/library/mediafiller/mediafiller.go index 9c2d8d3f..fe031794 100644 --- a/library/mediafiller/mediafiller.go +++ b/library/mediafiller/mediafiller.go @@ -49,9 +49,9 @@ func SetFileServerDomainName(fileServerDomainName string) { func (p *MediaFiller) GetFileServerDomain() string { //return "https://filecdnhw01.tiefen.fun/" - //if rand.Intn(100) < 80 { - // return "https://filecdnhw01.tiefen.fun/" - //} + if rand.Intn(100) < 10 { + return "https://filecdntx01.tiefen.fun/" + } return "https://filecdn01.tiefen.fun/" //return defaultMediaFiller.fileServerDomainName