- How do the Heroku dynos work?
- Can I have more than one?
For now I have
web: node app.js --> levanta la aplicación de Angular
worker: bundle exec puma -C config/puma.rb --> Rails API
Until then everything works well for me, I get up the application of angular and the api of rails.
But when I make a call from Angular to the API, it gives me a 404 error . The call /api/authenticate
is directed to web1 and not to the API.
I do not know if it's conceptually wrong to put the angular web and the api worker on the web.