Changes http to https
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Umbraco.Web.Editors
|
|||||||
//we have baseurl as a param to make previewing easier, so we can test with a dev domain from client side
|
//we have baseurl as a param to make previewing easier, so we can test with a dev domain from client side
|
||||||
[WebApi.UmbracoAuthorize]
|
[WebApi.UmbracoAuthorize]
|
||||||
[ValidateAngularAntiForgeryToken]
|
[ValidateAngularAntiForgeryToken]
|
||||||
public async Task<JObject> GetRemoteDashboardContent(string section, string baseUrl = "http://dashboard.umbraco.org/")
|
public async Task<JObject> GetRemoteDashboardContent(string section, string baseUrl = "https://dashboard.umbraco.org/")
|
||||||
{
|
{
|
||||||
var ctx = UmbracoContext.Current;
|
var ctx = UmbracoContext.Current;
|
||||||
if (ctx == null)
|
if (ctx == null)
|
||||||
@@ -73,7 +73,7 @@ namespace Umbraco.Web.Editors
|
|||||||
}
|
}
|
||||||
|
|
||||||
[WebApi.UmbracoAuthorize]
|
[WebApi.UmbracoAuthorize]
|
||||||
public async Task<HttpResponseMessage> GetRemoteDashboardCss(string section, string baseUrl = "http://dashboard.umbraco.org/")
|
public async Task<HttpResponseMessage> GetRemoteDashboardCss(string section, string baseUrl = "https://dashboard.umbraco.org/")
|
||||||
{
|
{
|
||||||
var cssUrl = string.Format(baseUrl + "css/dashboard.css?section={0}", section);
|
var cssUrl = string.Format(baseUrl + "css/dashboard.css?section={0}", section);
|
||||||
var key = "umb-dyn-dash-css-" + section;
|
var key = "umb-dyn-dash-css-" + section;
|
||||||
|
|||||||
Reference in New Issue
Block a user