使用 git.io 缩短 github 网址

2018-03-16 09:54:02 +08:00
 ca3w

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 到 云上认证机构管理系统

3318 次点击
所在节点    GitHub
3 条回复
xiaoz
2018-03-16 10:41:08 +08:00
Must be a GitHub.com URL.要是能开放所有网址就好了
luoway
2018-03-16 10:47:28 +08:00
不能用其他网址覆盖已有 code ?
MinonHeart
2018-03-16 12:40:38 +08:00
浏览器里是 gi 回车

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/438554

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX