This commit is contained in:
WJQSERVER 2024-10-06 01:49:57 +08:00
parent 88ee8abb5c
commit af6c6cfe64

View file

@ -65,6 +65,8 @@ func NoRouteHandler(cfg *config.Config, blist *config.Blist) gin.HandlerFunc {
c.AbortWithStatusJSON(404, gin.H{"error": "Not found"})
logw("Blacklisted repo: %s", fullrepo)
return
} else {
logw("Not blacklisted: %s", fullrepo)
}
matches = CheckURL(rawPath)