Skip to content

Commit

Permalink
fix: remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
soxft committed Jun 12, 2022
1 parent db7d317 commit 517e1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controller/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func ApiHandler(c *gin.Context) {
"data": gin.H{},
})
return
} else if u.Host == "" || u.Scheme == "" {
} else if u.Host == "" {
c.JSON(200, gin.H{
"success": false,
"message": "invalid referer",
Expand Down

0 comments on commit 517e1e1

Please sign in to comment.