Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/EliasDeHondt/K10s
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasDeHondt committed Feb 28, 2025
2 parents 1c8b7e0 + 956965d commit 5d6a2fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions App/Backend/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var frontendUrl = handlers.GetFrontendIP()

func main() {
frontendUrl = handlers.GetFrontendIP()
trustedProxies := []string{"10.0.0.0/8"}
//trustedProxies := []string{"10.0.0.0/8"}

if frontendUrl == "http://localhost:4200" {
gin.SetMode(gin.DebugMode)
Expand All @@ -26,7 +26,7 @@ func main() {

r := gin.Default()

err := r.SetTrustedProxies(trustedProxies)
err := r.SetTrustedProxies(nil)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 5d6a2fd

Please sign in to comment.