I just deployed an Ember-CLI app with a Sails.js backend for the first time.
The Sails-backend serves via http://<IP-Adress>:34523 my API-prefix is api/v1 .
So I set API_URL=http://<IP-Adress>:12345 and API_PREFIX=/api/v1/ .
The Ember-Cli application would be available via http://<IP-Adress>:12346. It's making API requests to http://<IP-Adress>:12346/api/v1/... but the nginx of this buildpack is serving them via http://<IP-Adress>:12346/api/v1/api/v1/...
I just deployed an Ember-CLI app with a Sails.js backend for the first time. The Sails-backend serves via
http://<IP-Adress>:34523
my API-prefix isapi/v1
. So I setAPI_URL=http://<IP-Adress>:12345
andAPI_PREFIX=/api/v1/
.The Ember-Cli application would be available via
http://<IP-Adress>:12346
. It's making API requests tohttp://<IP-Adress>:12346/api/v1/...
but the nginx of this buildpack is serving them viahttp://<IP-Adress>:12346/api/v1/api/v1/...
Can you imagine why that is happening?