From 9a1a89416375d4fd7a07fc2912aca482a6e59f2a Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Thu, 19 Dec 2024 16:01:42 +0800 Subject: [PATCH] fix cdn --- library/mediafiller/mediafiller.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/mediafiller/mediafiller.go b/library/mediafiller/mediafiller.go index 245991f1..4cb802c6 100644 --- a/library/mediafiller/mediafiller.go +++ b/library/mediafiller/mediafiller.go @@ -48,11 +48,11 @@ func SetFileServerDomainName(fileServerDomainName string) { } func (p *MediaFiller) GetFileServerDomain() string { + //return "https://filecdntx01.tiefen.fun/" + if rand.Intn(100) < 5 { + return "https://levianderwinv01.tiefen.space/" + } return "https://filecdntx01.tiefen.fun/" - //if rand.Intn(100) < 50 { - // return "https://filecdntx01.tiefen.fun/" - //} - //return "https://filecdn01.tiefen.fun/" //return defaultMediaFiller.fileServerDomainName }