It seems like you just need to debug your project.
Unfortunately assistance with this is ‘out of scope’ on Netlify’s side of things.
See:
https://www.netlify.com/support-scope/
Base functionality of Netlify’s build and deploy pipeline is supported, but we cannot help you debug any source code used either during build or after deployment.
Since you’ve built the site with AI, you should talk through your issues with the AI.
Or contact Bolt’s support here:
https://support.bolt.new/home
If you’re trying to work through it yourself, you should determine:
- If the code works when not hosted on Netlify (e.g. when run locally)
- What URL the user is being redirected to when they try and login
- If that URL exists as a static file (or not)
- If that URL should be being handled by a ‘function’ (or not)
- If any kind of redirects/rewrites are required
- If so, if it exists and is being applied correctly
etc.
Separate from that, you are encountering 404
errors when directly accessing sub-pages:
https://cheery-capybara-1562a9.netlify.app/about
If your project is a ‘Single Page Application’ (SPA), which it appears to be, it will require a rewrite as mentioned in the documentation. (This may be why you mention the netlify.toml
yourself).
The documentation is here:
https://docs.netlify.com/configure-builds/javascript-spas/
Avoid 404s for SPAs
If your project is a single page app (SPA) that uses the history pushState
method to get clean URLs, you must add a rewrite rule to serve the index.html
file no matter what URL the browser requests.
The rewrite rule itself is here:
https://docs.netlify.com/routing/redirects/rewrites-proxies/#history-pushstate-and-single-page-apps
You can place it either in a _redirects
file or netlify.toml
If using a netlify.toml
file, it should be in your Base directory.
If using a _redirects
file, it should end up in your Deploy directory when your build completes.
You may find that you can just mention it to Bolt, and have it place it correctly.