Deduplicate the magic string "/management/api/" (#16016)
This commit is contained in:
@@ -40,7 +40,7 @@ public class UmbracoRequestPaths
|
||||
_previewMvcPath = "/" + mvcArea + "/Preview/";
|
||||
_surfaceMvcPath = "/" + mvcArea + "/Surface/";
|
||||
_apiMvcPath = "/" + mvcArea + "/Api/";
|
||||
_managementApiPath = "/" + mvcArea + "/management/api/";
|
||||
_managementApiPath = "/" + mvcArea + Constants.Web.ManagementApiPath;
|
||||
_installPath = hostingEnvironment.ToAbsolute(Constants.SystemDirectories.Install);
|
||||
_umbracoRequestPathsOptions = umbracoRequestPathsOptions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user