GithubHelp home page GithubHelp logo

Comments (7)

sunnyhuang42 avatar sunnyhuang42 commented on July 16, 2024

咦,我这边无论在电脑还是手机浏览器或微信上,点击都是正常的没法复现 0.0

看了你 Issue 里给的两个链接,发现你给出的语法标记是 [http://ishanshan.im/page2/](第2页) 。猜测是你访问我博客时启用了网页的自带翻译功能?如果是,试试不使用的话呢?

from sunnyhuang.net.

Wangjunyu avatar Wangjunyu commented on July 16, 2024

找到原因了, 用 https 访问没有问题, http 访问会报错.

from sunnyhuang.net.

sunnyhuang42 avatar sunnyhuang42 commented on July 16, 2024

咦,你直接输入 http://ishanshan.im/page3/ 也会报错吗?
我这边如果直接输入 http://ishanshan.im/page3/ ,会自动跳转为 https 的地址正常显示,依然复现不了 0.0

from sunnyhuang.net.

Wangjunyu avatar Wangjunyu commented on July 16, 2024

对的~ 所以问题变成了两个:

  1. 为什么 http 会报错
  2. 如何让 http 的访问都转为 https...

另外,你用的 jekyll 有什么特殊的设置么?我的 blog.junyu.io 都是 http 的访问链接,也没有特殊设置过 https 的访问...

from sunnyhuang.net.

sunnyhuang42 avatar sunnyhuang42 commented on July 16, 2024

为什么 http 会报错
如何让 http 的访问都转为 https...

你再试试? 我加上了 http 的 301 转址,应该没问题了~

你用的 jekyll 有什么特殊的设置么

用了 GitHub page 自带的 enforce HTTPS Custom domains on GitHub Pages gain support for HTTPS | The GitHub Blog

from sunnyhuang.net.

Wangjunyu avatar Wangjunyu commented on July 16, 2024

测试已经通过~点击链接会强制跳转到 https了....
不过感觉访问速度和以前比有点变慢了,可以考虑 cdn 加快访问速度.

from sunnyhuang.net.

sunnyhuang42 avatar sunnyhuang42 commented on July 16, 2024

恩呢之前的确比较慢,我删了 2 个 A 记录,现在快些了。你瞅瞅是不?

from sunnyhuang.net.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.