mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 16:21:11 +08:00
fix
This commit is contained in:
parent
57f67278a3
commit
5dbf137116
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ func NoRouteHandler(cfg *config.Config, bmap config.BlacklistMap) gin.HandlerFun
|
||||||
|
|
||||||
// 黑名单检查
|
// 黑名单检查
|
||||||
blacklistpass := auth.CheckBlacklist(fullrepo)
|
blacklistpass := auth.CheckBlacklist(fullrepo)
|
||||||
if !blacklistpass {
|
if blacklistpass {
|
||||||
c.AbortWithStatusJSON(404, gin.H{"error": "Not found"})
|
c.AbortWithStatusJSON(404, gin.H{"error": "Not found"})
|
||||||
logw("Blacklisted repo: %s", fullrepo)
|
logw("Blacklisted repo: %s", fullrepo)
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue