sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.88k stars 136 forks source link

Unable to access routes on my angular2 app #283

Closed prakashraman closed 7 years ago

prakashraman commented 7 years ago

Hi

I am able to push my angular application fine. Although, I am unable to access the routes inside of the application. It returns a 404.

It there any server setting I would need to set for it to deploy angular applications?

sintaxi commented 7 years ago

Rename your index.html file to 200.html and you should get what you are looking for.

prakashraman commented 7 years ago

Perfect thanks :)

Love the service btw!