CaffGeek
CaffGeek

Reputation: 22064

Change URL Breeze looks for MetaData

Breeze is looking for my Metadata at api/entities/Metadata, however it's actually being published at api/$metadata. How can I tell Breeze to look in the right location?

Upvotes: 2

Views: 768

Answers (1)

CaffGeek
CaffGeek

Reputation: 22064

Setting up the dataservice with this seems to have worked...at least I get metadata now

breeze.config.initializeAdapterInstances({ dataService: "OData" });

var manager = new breeze.EntityManager('/odata/'); //path to service

Upvotes: 2

Related Questions