From 6440abbda9cf243121bd842cd0e36e12744d4fbd Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Thu, 11 Jun 2020 08:00:35 +0200 Subject: [PATCH] Updated BackOfficeServerVariables --- .../Controllers/BackOfficeServerVariables.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs b/src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs index d6cdd1dfca..4f92e06abe 100644 --- a/src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs +++ b/src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs @@ -184,14 +184,14 @@ namespace Umbraco.Web.BackOffice.Controllers "imagesApiBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( controller => controller.GetBigThumbnail("")) }, - // { - // "sectionApiBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( - // controller => controller.GetSections()) - // }, - // { - // "treeApplicationApiBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( - // controller => controller.GetApplicationTrees(null, null, null, TreeUse.None)) - // }, + { + "sectionApiBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( + controller => controller.GetSections()) + }, + { + "treeApplicationApiBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( + controller => controller.GetApplicationTrees(null, null, null, TreeUse.None)) + }, // { // "contentTypeApiBaseUrl", _linkGenerator.GetUmbracoApiServiceBaseUrl( // controller => controller.GetAllowedChildren(0))