Skip to content

Commit 53048a5

Browse files
committed
back
1 parent ad06ecd commit 53048a5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

source/_posts/pagegithub404.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: github page不能访问解决
3+
date: 2020-06-22 10:16:58
4+
tags: 技术
5+
---
6+
7+
先说下不能访问前都干了些啥?
8+
就一条操作:将page仓库从公有变成了私有,然后又从私有变成了公有,就不能访问了。
9+
10+
然后都做了些什么呢?
11+
1 检查所有的配置,没有发现问题;
12+
2 本地部署,hexo s,使用localhost:4000正常,不可以;
13+
3 等待24小时,依然不可以。
14+
15+
进一步调查,有了新的发现:
16+
1 GitHub Pages下没有Custom domain选项。
17+
18+
最终是怎么解决的呢?
19+
1 点击Change theme
20+
2点击 change theme 之后底下有个link-to-another-pages ,然后再选用主题就好了,这样可以跳转到你用hexo部署的界面
21+
下面有两个主题1)默认的yay还有一个back,改成back
22+
3 然后回来选项都有了,填上自己的域名,然后将Enforce HTTPS 也选上了。
23+
再试一切OK。
24+

0 commit comments

Comments
 (0)