hexo deploy github pages自定义域名丢失


hexo deploy github pages自定义域名丢失

1. 问题描述

在hexo deploy github pages后,发现自定义域名丢失了,无法访问。

picture 0

2. 解决办法

在hexo项目的source文件夹下新建CNAME文件,里面填入你的域名,并保存,这样每次hexo deploy后,github page就不会出现域名重置了

picture 1


Author: 徐镖林
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source 徐镖林 !
  TOC