Ensures the 'Index' portion of the path is used for scheduled publishing

This commit is contained in:
Shannon
2014-06-25 11:26:08 +10:00
parent e27163f3a7
commit 625b8f7e65

View File

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