HTTP 404 ("heroku" Not Found) after successfully deploying Angular app to heroku

Okay, I can't remember if it was me who changed that or whether this is set per default but in angular.json there is also a way to set the output directory (outputPath). For some reason this was set to
"outputPath": "dist/<project-name>"
I changed that to
"outputPath": "dist"
and now everything works

Comments

Popular posts from this blog

Provision AWS EC2 Instance and RDS with Terraform, and Deploy Spring Boot App to EC2 Instance via GitHub Action Pipeline

JQuery UI Autocomplete, custom HTML structure for result?

Easy Ui Jquery easyui-textbox change onChange event