As I made a simple update to my year-old website that has been working perfectly on DO App Platform, it broke and started giving out 404 error and says “# This app.tubemagic.com page can’t be found”
The website is based on Next.js and I simply added a new [id].js kind of file to use a feature, even rolling back is not helping anymore.
And there are no errors while building or deploying, I even tried to change my plan from a dedicated CPU to shared one or re-build with cache cleared, help me out!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Hi there,
Quick update in case that anyone comes across this in the future, this was solved by adding
- path: '/*'
inside of app spec.For more information on URL rewrites, you can check out the documentation here:
https://docs.digitalocean.com/products/app-platform/how-to/url-rewrites/
Best,
Bobby