简体   繁体   English

如何修复新存储库中 github.io 中的 404 错误?

[英]how to fix 404 error in github.io in new repositories?

how to fix 404 error in github.io in new repositories?如何修复新存储库中 github.io 中的 404 错误? I tried the new, public, changed mode, nothing helps.我尝试了新的、公开的、更改的模式,没有任何帮助。 there is a python script in the repositories to collect information, maybe there are some restrictions on github for python scripts?存储库中有一个 python 脚本来收集信息,可能对 python 脚本的 github 有一些限制?

There is one possible reason for it, GitHub pages isn't enabled.有一个可能的原因,GitHub 页面未启用。 To solve this, Repo Settings -> Github Pages section -> Select the main branch.为了解决这个问题,回购设置 -> Github 页面部分 -> Select 主分支。 If it is already there, then wait for some time and refresh your site again.如果它已经存在,请等待一段时间并再次刷新您的网站。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM