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 -1
View File
@@ -65,7 +65,7 @@ type Handler struct {
func NewHandler(store *tenant.TenantStore, adminToken string) *Handler {
nubesEndpoint := os.Getenv("NUBES_ENDPOINT")
if nubesEndpoint == "" {
nubesEndpoint = "https://deck-api-test.ngcloud.ru/api/v1"
nubesEndpoint = "https://lk-api-gateway.ngcloud.ru/api/v1/svc"
}
return &Handler{store: store, adminToken: adminToken, nubesEndpoint: nubesEndpoint}
}