fix(docs): Replace broken link to documentation with valid

This commit is contained in:
Oskar Karpiński 2024-09-26 13:36:25 +02:00 committed by GitHub
parent f05f966a08
commit 1ce8c6ca3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
gin.go
View File

@ -598,7 +598,7 @@ func (engine *Engine) RunQUIC(addr, certFile, keyFile string) (err error) {
if engine.isUnsafeTrustedProxies() {
debugPrint("[WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.\n" +
"Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.")
"Please check https://github.com/gin-gonic/gin/blob/master/docs/doc.md#dont-trust-all-proxies for details.")
}
err = http3.ListenAndServeQUIC(addr, certFile, keyFile, engine.Handler())