Skip to content

Commit

Permalink
Ignore errors of SetTrustedProxies explicitely (there shouldn't be any)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenz Kästle authored and pzii committed Apr 6, 2024
1 parent af097f0 commit 6b608af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlsir.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ func main() {

gin.SetMode(gin.ReleaseMode)
router := gin.Default()
router.SetTrustedProxies(nil)
_ = router.SetTrustedProxies(nil)

router.GET("/file/:file", getFile)
router.POST("/DeploymentService/LoginService", postLoginService)
Expand Down

0 comments on commit 6b608af

Please sign in to comment.