fix: JWT-валидация через lk-api-gateway PROD + User-Agent в PingNubesAPI

This commit is contained in:
“Naeel”
2026-08-14 07:51:05 +04:00
parent 7db1b1ef69
commit de72fe5c8f
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -84,6 +84,7 @@ func PingNubesAPI(ctx context.Context, endpoint, token string) error {
return fmt.Errorf("build nubes ping request: %w", err)
}
req.Header.Set("Authorization", "Bearer "+token)
req.Header.Set("User-Agent", "Mozilla/5.0")
client := &http.Client{Timeout: 10 * time.Second}
resp, err := client.Do(req)