Report this

What is the reason for this report?

Angular routes not working on static app

Posted on November 3, 2020

Hi there!

I liked a lot how things work here in DO. But I just deployed an Angular static site and it’s routes don’t work. For example, if I go to “https://myapp.com” it loads ok, but if I put “https://myapp.com/someroute” I get this error: “404: The requested page was not found”.

Is there any way to solve this? I’m really thinking about set up my clients web apps here, but I need this working =].

Thanks in advance!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.