javascript - 为什么我的页面没有加载到 Github 上?

标签 javascript html css github gulp

我试图将我的存储库指向自定义域并收到此错误:

404 File not found

The site configured at this address does not contain the requested file. If this is your site, make sure that the filename case matches the URL. For root URLs (like http://example.com/) you must provide an index.html file.

这是我的 repo 协议(protocol):https://github.com/rohithpalagiri/rohithpalagiri.github.io

这是自定义 url:rohithpalagiri.com

我查看了我的 namecheap 设置,它设置正确。有谁知道是不是我的代码中的某些东西导致了这个问题?

最佳答案

它目前采用 master 分支。

进入 repo settings并选择 gh-pages 分支。然后点击保存

关于javascript - 为什么我的页面没有加载到 Github 上?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39839910/

相关文章:

javascript - 试图解析一个包含多个数组的 json

javascript - 将执行上下文从父框架更改为子框架

html - 如何停用获取值数据库以在 laravel 4 中选择框

html - 在 swift 中解析 html 的最佳实践是什么?

php - 使用 PHP Storm 修复重复的 CSS 代码

javascript - jquery 句柄和轨道样式

javascript - 仅使用 vue-cli3 配置 webpack 以用于生产

javascript - 如何插入允许用户在开始时选择秒数的功能?

jquery - 有人知道像 Google Images 这样排列图像的 jQuery 插件吗?

javascript - 使所有 float div 具有相同高度的脚本