Nenad Dordevic
Nenad Dordevic

Reputation: 377

Set jhipster app to target different backend host than localhost

I have a jhipster app and deployed target/www to some webserver different where the backend is.. How to setup client app to target that server? I don't see any config regarding that.

Upvotes: 0

Views: 102

Answers (1)

Sumit Vairagar
Sumit Vairagar

Reputation: 546

So currently your best solution is.

Search all the *.service.js files and replace the

var resourceUrl = 'api/projects/:id';

with your base url.

Better approach would be create a constant in app.constant.js

Upvotes: 1

Related Questions