Closed ghost closed 3 years ago
Thank you. Sometimes an index.html is missing when building with create-react-app. I did get the same problem 1 or 2 days ago for a few minutes, but rebuilding it fixed it. I'm not sure what exactly causes it yet but something in GitHub actions needs to make sure index.html exists.
Also, the script that causes the infinite redirects is a workaround script for using React routing with GitHub pages. Sometimes it takes a while for the website cache to update, but it's fixed for now.
Added checking for index.html before deploying to GH pages for prevention.
Describe the bug A portion of the index.html has a script that redirects you infinitely.
To Reproduce Steps to reproduce the behavior:
Expected behavior A portion of the index.html has a script that redirects you infinitely.
Preview
Additional context Remove it to fix it.