Fixes: U4-5391 Create config to explicitly set the 'base url' for a website that is not running as a load balanced site - used for scheduled tasks/publishing/keepalive

This commit is contained in:
Shannon
2014-11-13 13:05:27 +11:00
parent 10bc7d0c1e
commit 4ec37b9d3a
19 changed files with 2178 additions and 2096 deletions

View File

@@ -52,7 +52,7 @@ namespace Umbraco.Web.Scheduling
}
else
{
var url = string.Format("{0}/RestServices/ScheduledPublish/Index", umbracoBaseUrl);
var url = string.Format("{0}RestServices/ScheduledPublish/Index", umbracoBaseUrl.EnsureEndsWith('/'));
using (var wc = new WebClient())
{
//pass custom the authorization header