APP Platform: App reloading leads to 404 site

Posted November 13, 2020 117 views
ReactDigitalOcean App Platform

steps to reproduce:

visiting my site under:
click on any site in the navigation
do a reload

Expectation getting the page for the route
Receive: 404 page

i just find answers for droplet Apps :(

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

2 answers

Hello @balzerrei

You have to use catchall_document to fix this routing issue. We don’t support it in UI yet. You might have to configure catchall_document via doctl or API. There is a similar discussion in our another community link which might help:



Thanks for your answer @dikshith.

With this new catchall_document I am getting always the index.htmlinstead of the requested e.g.: team.html when i am on /team and do a hard reload.

This is not what I am looking for. So other than publishing the site as a web Serve instead of a static site a can’t resolve this issue?

Submit an Answer