From cc915d6ef1245223e7f10fb823442e4ffda5ae85 Mon Sep 17 00:00:00 2001 From: Warren Date: Wed, 29 Aug 2018 19:01:26 +0100 Subject: [PATCH] Adds in URL to WebAPI/Editor to Umbraco.Sys global JS object --- src/Umbraco.Web/Editors/BackOfficeServerVariables.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Umbraco.Web/Editors/BackOfficeServerVariables.cs b/src/Umbraco.Web/Editors/BackOfficeServerVariables.cs index 8eb1c4247f..431a3b8cb4 100644 --- a/src/Umbraco.Web/Editors/BackOfficeServerVariables.cs +++ b/src/Umbraco.Web/Editors/BackOfficeServerVariables.cs @@ -296,6 +296,10 @@ namespace Umbraco.Web.Editors { "languageApiBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( controller => controller.GetAllLanguages()) + }, + { + "logViewerApiBaseUrl", _urlHelper.GetUmbracoApiServiceBaseUrl( + controller => controller.GetNumberOfErrors()) } } },