Allows for the umb pckage repo rest api endpoint to be configurable - for testing

This commit is contained in:
Shannon
2017-04-26 14:04:47 +10:00
parent d295174e53
commit bfb81f6362
6 changed files with 44 additions and 3 deletions

View File

@@ -5,8 +5,7 @@
**/
function ourPackageRepositoryResource($q, $http, umbDataFormatter, umbRequestHelper) {
//var baseurl = "http://localhost:24292/webapi/packages/v1";
var baseurl = "https://our.umbraco.org/webapi/packages/v1";
var baseurl = Umbraco.Sys.ServerVariables.umbracoUrls.packagesRestApiBaseUrl;
return {