By Priyam Raj
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!
Accepted Answer
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.