Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL publique en "Page Not Found" #5092

Open
1 task done
earthmoon-app opened this issue Jan 7, 2025 · 6 comments
Open
1 task done

URL publique en "Page Not Found" #5092

earthmoon-app opened this issue Jan 7, 2025 · 6 comments

Comments

@earthmoon-app
Copy link

Describe the bug

Les pages "publiques" ne s'affichent pas correctement. Notre URL https://buzzkeep.io/explore renvois sur "Page Not Found"

Link to the Bolt URL that caused the error

https://bolt.new/~/sb1-g1zkkvxn

Validations

  • Please make your project public or accessible by URL. This will allow anyone trying to help you to easily reproduce the issue and provide assistance.

Steps to reproduce

  1. https://buzzkeep.io/
  2. Cliquez sur : Explorez les favoris -> https://buzzkeep.io/explore
  3. Rafraîchissez ou essayer en navigation privée

Expected behavior

L'URL "https://buzzkeep.io/explore" doit s'afficher (publique), même sans être utilisateur.

Screen Recording / Screenshot

Capture d’écran 2025-01-07 à 10 53 38

Platform

Browser name = Chrome
Full version = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 95612533,
  "usedJSHeapSize": 91570861,
  "jsHeapSizeLimit": 4294705152
}
Username = earthmoon
Chat ID = 6cc55df2e97d

Additional context

No response

@codewithtyler
Copy link
Contributor

Hi @earthmoon-app, thanks for the response.

Typically this happens when the AI doesn't know that you're going to deploy to Netlify. In order to get the routing working I would suggest telling Bolt that you're trying to deploy to Netlify and that you need a toml file with the correct routing set up so that you can avoid this issue and attach the image above in your prompt. That should help you resolve this issue.

@earthmoon-app
Copy link
Author

earthmoon-app commented Jan 7, 2025 via email

@codewithtyler
Copy link
Contributor

I see, but did you also mention to it about the toml file that I suggested in my last response? Sometimes AI doesn't take the hint that deploying to Netlify means it has to do special things to make the routing work.

@earthmoon-app
Copy link
Author

earthmoon-app commented Jan 7, 2025 via email

@codewithtyler
Copy link
Contributor

I used some of my tokens to take a look at your app. In your public folder you need to add a file called _redirects and inside of it you need to put this:

/* /index.html 200

image

Here's the reason Bolt says you need to do this:

image

I was able to deploy your app to my Netlify account after making that change in my fork and was able to navigate to the explore page successfully as you can see here - https://superb-kashata-62acfc.netlify.app/explore

If this works for you let me know and I will delete your project from my Bolt and Netlify account.

@earthmoon-app
Copy link
Author

earthmoon-app commented Jan 7, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants