diff --git a/Controllers/RegistrazioniController.cs b/Controllers/RegistrazioniController.cs index 1a6830a..2ce7366 100644 --- a/Controllers/RegistrazioniController.cs +++ b/Controllers/RegistrazioniController.cs @@ -42,7 +42,7 @@ namespace VirtualTask.Controllers apiUrl = key; _context = context; var request = _context.HttpContext.Request; - urlConfirm = string.Format("{0}://{1}", request.Scheme, request.Host.Value); + urlConfirm=_configuration["ApplicationInsights:rootUrl"]; } #region INDEX diff --git a/Views/Shared/_LayoutPortale.cshtml b/Views/Shared/_LayoutPortale.cshtml index bab58a7..5068520 100644 --- a/Views/Shared/_LayoutPortale.cshtml +++ b/Views/Shared/_LayoutPortale.cshtml @@ -236,7 +236,8 @@ Purchase: