mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
fix
This commit is contained in:
parent
88ee8abb5c
commit
af6c6cfe64
1 changed files with 2 additions and 0 deletions
|
|
@ -65,6 +65,8 @@ func NoRouteHandler(cfg *config.Config, blist *config.Blist) gin.HandlerFunc {
|
||||||
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
|
||||||
|
} else {
|
||||||
|
logw("Not blacklisted: %s", fullrepo)
|
||||||
}
|
}
|
||||||
|
|
||||||
matches = CheckURL(rawPath)
|
matches = CheckURL(rawPath)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue