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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user