Github page cannot find React site
P粉729518806
P粉729518806 2023-08-01 15:49:38
0
1
441
<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
P粉729518806
P粉729518806

reply all(1)
P粉788765679

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!