V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
mayx
V2EX  ›  HTML

关于相对路径 HTTPS 的疑问

  •  
  •   mayx · Feb 7, 2019 via Android · 4585 views
    This topic created in 2640 days ago, the information mentioned may be changed or developed.
    我的网站上的翻页是相对路径,访问时用的是 HTTPS,显示的地址也是 HTTPS。然而点击后就变成了 HTTP,这是为什么?而且只有翻页这里有问题,其他的链接都是正常的。
    因为 HTTP 打开 Github pages 会 Connection Reset,所以也没法跳转回 HTTPS
    地址: https://mabbs.github.io/
    求教大神
    mayx
        1
    mayx  
    OP
       Feb 8, 2019 via Android
    Uh...问题解决了,是 Github 的错,不加 /的 Url 会 301
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   850 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 19:42 · PVG 03:42 · LAX 12:42 · JFK 15:42
    ♥ Do have faith in what you're doing.