fix path to ui-module-registry endpoint
authorAlex Heneveld <alex.heneveld@cloudsoftcorp.com>
Tue, 29 Jan 2019 23:54:08 +0000 (23:54 +0000)
committerAlex Heneveld <alex.heneveld@cloudsoftcorp.com>
Tue, 29 Jan 2019 23:54:08 +0000 (23:54 +0000)
(confirmed without this it makes a relative request; works in dev mode but not in osgi server)

ui-modules/app-inspector/app/views/main/inspect/summary/summary.controller.js

index aff3f62..5c30829 100644 (file)
@@ -150,7 +150,7 @@ export function summaryController($scope, $state, $stateParams, $q, $http, brSna
         vm.error.policies = 'Cannot load policies for entity with ID: ' + entityId;
     });
 
-    $http.get('v1/ui-metadata-registry', {params: {type: 'location'}}).then(response => {
+    $http.get('/v1/ui-metadata-registry', {params: {type: 'location'}}).then(response => {
         vm.metadata = response.data;
     });