rafgraph / spa-github-pages

Host single page apps with GitHub Pages
https://spa-github-pages.rafgraph.dev
MIT License
3.83k stars 565 forks source link

Google search result contains "You need to enable JavaScript to run this app" in description #43

Closed eddex closed 3 years ago

eddex commented 3 years ago

Hi

Thanks for this workaround. It works great for the page I recently created (https://jackfruit.games).

However, when I search for the page on google, I can see that in the description of the page, the error message "You need to enable JavaScript to run this app" is shown.

image (Yes, I need to update the description of the main page too 🙃)

The code for the page can be found here: https://github.com/jackfruitgames/jackfruit.games/blob/main/src/components/MarkdownContentPage.js

Any idea why this happens and how I can fix this?

rafgraph commented 3 years ago

Not sure why this is happening, but it seems doubtful that it is because of the spa-github-pages script.

rafgraph commented 3 years ago

I also am not able to reproduce the issue when I search on google https://www.google.com/search?q=site%3Ajackfruit.games

Screen Shot 2020-11-11 at 4 53 01 PM