ca3w
V2EX  ›  GitHub

使用 git.io 缩短 github 网址

  •  
  •   ca3w · Mar 16, 2018 · 4403 views
    This topic created in 3154 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
    xiaoz
    Mar 16, 2018
    1
    Must be a GitHub.com URL.要是能开放所有网址就好了
    luoway
    luoway
    Mar 16, 2018
    2
    不能用其他网址覆盖已有 code ?
    MinonHeart
    MinonHeart
    Mar 16, 2018 via iPhone
    3
    浏览器里是 gi 回车
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1318 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:06 · PVG 04:06 · LAX 12:06 · JFK 15:06
    ♥ Do have faith in what you're doing.