Category : heroku

This is web-request service.ts i think problem is with routes on backend or frontend, because https://sarajevotravel.herokuapp.com/api/users/login is working on postman. When I start the server locally then it also works on the heroku, but if it is not started locally on the heroku it only shows the frontend of logins and registrations. And it shows ..

Read more

I’m following this architecture example https://github.com/rafaelfgx/Architecture . This is even hosted in heroku as example, but for some reasom I can’t reach the frontend. In logs there is this System.InvalidOperationException: The SPA default page middleware could not return the default page ‘/index.html’ because it was not found, and no other middleware handled the request. I ..

Read more

I have been trying to upload my angular app to Heroku and have been getting these errors: at=error code=H10 desc="App crashed" method=GET path="/" at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" **Removing "type": "module" gives me To load an ES module, set "type": "module" in the package.json heroku logs: 2021-05-13T23:14:31.671954+00:00 heroku[web.1]: State changed from crashed to starting ..

Read more