cdn test
This commit is contained in:
parent
93048a1a4b
commit
19f60097ff
|
@ -42,9 +42,9 @@ func SetFileServerDomainName(fileServerDomainName string) {
|
||||||
|
|
||||||
func (p *MediaFiller) GetFileServerDomain() string {
|
func (p *MediaFiller) GetFileServerDomain() string {
|
||||||
// cdn测试
|
// cdn测试
|
||||||
if rand.Intn(100) < 20 {
|
//if rand.Intn(100) < 20 {
|
||||||
return "https://filecdn01.tiefen.fun/"
|
return "https://filecdn01.tiefen.fun/"
|
||||||
}
|
//}
|
||||||
return defaultMediaFiller.fileServerDomainName
|
return defaultMediaFiller.fileServerDomainName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue