I deployed a API Platform api and client using Heroku but it seems that Mercure is not working out of the box, but I think my application may have missing configuration.
The only thing I configured is this MERCURE_SUBSCRIBE_URL=http://my-random-herokuapp-name-generated.herokuapp.com/hub.
In production I'm getting 404 error on my hub address and in local I get an answer saying I didn't provide a topic (which makes sense because I just requested the address to make a test without providing any parameter).
In local environment, the full package API platform is given with a docker running a mercure server, I think this might be the answer that herokuapp doesn't support Mercure, but it's not very clear to me.
So basically I am getting a 404 not found error on the hub address instead of getting a 200