Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abaldeweg authored Oct 18, 2024
1 parent 0627954 commit 5a0e59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func authenticate(c *gin.Context) bool {

authHeader := c.GetHeader("Authorization")

logFile, _ := os.OpenFile("/upload/auth.log", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
logFile, _ := os.OpenFile("auth.log", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
defer logFile.Close()

logMessage := fmt.Sprintf("AUTH_API_ME: %s, authHeader: %s\n", viper.GetString("AUTH_API_ME"), authHeader)
Expand Down

0 comments on commit 5a0e59d

Please sign in to comment.