优化
This commit is contained in:
@@ -152,7 +152,7 @@ func GetM3U8Ex(ctx *gin.Context) {
|
|||||||
log.Any("vipValid", vipValid),
|
log.Any("vipValid", vipValid),
|
||||||
log.E(countErr))
|
log.E(countErr))
|
||||||
} else if cnt > limit {
|
} else if cnt > limit {
|
||||||
m3u8Name = m3u8RateLimitFallback
|
// m3u8Name = m3u8RateLimitFallback
|
||||||
status = "rate_limited"
|
status = "rate_limited"
|
||||||
log.Warn("GetM3U8Ex daily rate limit, use fallback m3u8",
|
log.Warn("GetM3U8Ex daily rate limit, use fallback m3u8",
|
||||||
log.Any("ip", ip),
|
log.Any("ip", ip),
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// DefaultKey IndexNow 默认密钥,与站点根目录下的 {key}.txt 验证文件对应
|
// DefaultKey IndexNow 默认密钥,与站点根目录下的 {key}.txt 验证文件对应
|
||||||
const DefaultKey = "6d41643810d540ce924edb982c3d3171"
|
const DefaultKey = "9d16a6eb0062bfcaa98e1238e7c436e0"
|
||||||
|
|
||||||
// DefaultSearchEngine 官方入口,会自动分发给 Bing、Yandex 等搜索引擎
|
// DefaultSearchEngine 官方入口,会自动分发给 Bing、Yandex 等搜索引擎
|
||||||
const DefaultSearchEngine = "https://api.indexnow.org"
|
const DefaultSearchEngine = "https://api.indexnow.org"
|
||||||
|
|||||||
Reference in New Issue
Block a user