0

how can I configure ng-admin to work with several different URI endpoints? e.g.

var admin = nga.application('My Admin')
.baseApiUrl('http://localhost:6007/api/v1/');

lets me use localhost:6007 as my URI I would like to be able to use additional URIs for other entities (service oriented architecture - not all entities are coming from the same URI)

Elad Katz
  • 7,483
  • 5
  • 35
  • 66

1 Answers1

2

it can be configured on entity as well -

var entity = nga.entity('entity').baseURL('http://localhost:6007/api/v1/');
Elad Katz
  • 7,483
  • 5
  • 35
  • 66