Closed tomNjerry closed 7 years ago
@tomNjerry In this file https://github.com/ronzeidman/ng2-ui-auth-example/blob/master/client/src/config.ts
Do it like this:
export class MyAuthConfig extends CustomConfig { defaultHeaders = {'Content-Type': 'application/json'}; baseUrl = env.apiBaseUrl; ... }
As I came from Satellizer to this, we have '_baseurl' parameter there which tells Satellizer about our local server and post things there for server side validation. Where to put that URL ??