diff --git a/src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs b/src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs index 7fe52469ed..4d3332bc1e 100644 --- a/src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs +++ b/src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs @@ -14,9 +14,12 @@ using Umbraco.Core.Configuration.UmbracoSettings; using Umbraco.Core.Hosting; using Umbraco.Core.WebAssets; using Umbraco.Extensions; +using Umbraco.Web.BackOffice.Profiling; +using Umbraco.Web.BackOffice.PropertyEditors; using Umbraco.Web.Common.Attributes; using Umbraco.Web.Editors; using Umbraco.Web.Features; +using Umbraco.Web.HealthCheck; using Umbraco.Web.Trees; using Umbraco.Web.WebApi; @@ -156,10 +159,10 @@ namespace Umbraco.Web.BackOffice.Controllers "tourApiBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( controller => controller.GetTours()) }, - //{ - // "embedApiBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( - // controller => controller.GetEmbed("", 0, 0)) - //}, + { + "embedApiBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( + controller => controller.GetEmbed("", 0, 0)) + }, //{ // "userApiBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( // controller => controller.PostSaveUser(null)) @@ -244,10 +247,10 @@ namespace Umbraco.Web.BackOffice.Controllers // "relationApiBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( // controller => controller.GetById(0)) //}, - //{ - // "rteApiBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( - // controller => controller.GetConfiguration()) - //}, + { + "rteApiBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( + controller => controller.GetConfiguration()) + }, //{ // "stylesheetApiBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( // controller => controller.GetAll()) @@ -280,18 +283,18 @@ namespace Umbraco.Web.BackOffice.Controllers // "contentTreeBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( // controller => controller.GetNodes("-1", null)) //}, - //{ - // "tagsDataBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( - // controller => controller.GetTags("", "", null)) - //}, + { + "tagsDataBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( + controller => controller.GetTags("", "", null)) + }, { "examineMgmtBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( controller => controller.GetIndexerDetails()) }, - //{ - // "healthCheckBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( - // controller => controller.GetAllHealthChecks()) - //}, + { + "healthCheckBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( + controller => controller.GetAllHealthChecks()) + }, //{ // "templateQueryApiBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( // controller => controller.PostTemplateQuery(null)) @@ -332,10 +335,10 @@ namespace Umbraco.Web.BackOffice.Controllers // "logViewerApiBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( // controller => controller.GetNumberOfErrors(null, null)) //}, - //{ - // "webProfilingBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( - // controller => controller.GetStatus()) - //}, + { + "webProfilingBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( + controller => controller.GetStatus()) + }, //{ // "tinyMceApiBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( // controller => controller.UploadImage()) diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index 12055ed722..4fbf06a86e 100755 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -257,8 +257,6 @@ - -