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

使用 git.io 缩短 github 网址

  •  
  •   ca3w · Mar 16, 2018 · 3952 views
    This topic created in 2973 days ago, the information mentioned may be changed or developed.

    https://github.com/blog/985-git-io-github-url-shortener

    $ curl -i https://git.io -F "url=https://ca3w.github.io/" -F "code=ca3w"
    HTTP/1.1 201 Created
    Server: Cowboy
    Connection: keep-alive
    Date: Sun, 21 Jan 2018 02:06:23 GMT
    Status: 201 Created
    Content-Type: text/html;charset=utf-8
    Location: https://git.io/ca3w
    Content-Length: 23
    X-Xss-Protection: 1; mode=block
    X-Content-Type-Options: nosniff
    X-Frame-Options: SAMEORIGIN
    X-Runtime: 0.012334
    X-Node: acdfc202-b91c-40fa-9b91-1281ac7d8523
    X-Revision: 392798d237fc1aa5cd55cada10d2945773e741a8
    Strict-Transport-Security: max-age=31536000; includeSubDomains
    Via: 1.1 vegur
    
    https://ca3w.github.io/
    

    打开 git.io/ca3w 301 到 云上认证机构管理系统

    3 replies    2018-03-16 12:40:38 +08:00
    xiaoz
        1
    xiaoz  
       Mar 16, 2018
    Must be a GitHub.com URL.要是能开放所有网址就好了
    luoway
        2
    luoway  
       Mar 16, 2018
    不能用其他网址覆盖已有 code ?
    MinonHeart
        3
    MinonHeart  
       Mar 16, 2018 via iPhone
    浏览器里是 gi 回车
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1300 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 23:50 · PVG 07:50 · LAX 16:50 · JFK 19:50
    ♥ Do have faith in what you're doing.