fix: JWT-валидация через lk-api-gateway PROD + User-Agent в PingNubesAPI
This commit is contained in:
+1
-1
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user