Github page cannot find React site
P粉729518806
2023-08-01 15:49:38
<p>I'm trying to launch a photography website on Github Pages, but when I try to deploy, the link says "Website not found" despite the rest of the index.html appearing<br /><br /> ;It displays the title and "Hello World" but not the actual website. The website used to work locally, but now it just says "hello world, site not found". <br /><br />Website: https://ohong87.github.io/portfolio/<br /><br />Repo: https://github.com/ohong87 /portfolio<br /><br />EDIT ** Caught the error - "Page does not exist" is the default message when the current URL does not match any route. Now try to figure out why the homepage doesn't show </p><p><br /></p> by default
Please change your repo name to "ohong87.github". In your repo you have to use build files. The current project is a react project. Therefore, you have to build your react project as HTML files. Good luck.