Private
Public Access
1
0

Merge pull request 'fix Player Timeout' (#2) from add-new-player-skin into main
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m48s

Reviewed-on: #2
This commit is contained in:
2025-11-25 13:39:20 +00:00

View File

@@ -516,7 +516,7 @@ func handleValidate(w http.ResponseWriter, r *http.Request) {
log.Printf("❌ REDIS SAVE ERROR: %v", err) log.Printf("❌ REDIS SAVE ERROR: %v", err)
} }
rdb.Expire(ctx, key, 1*time.Hour) rdb.Expire(ctx, key, 8760*time.Hour)
w.Header().Set("Content-Type", "application/json") w.Header().Set("Content-Type", "application/json")
json.NewEncoder(w).Encode(ValidateResponse{ json.NewEncoder(w).Encode(ValidateResponse{