Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

判断 github 链接不为 http(s):// 开头时自动补充 https 前缀 #126

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

M4nk1n
Copy link
Contributor

@M4nk1n M4nk1n commented Mar 18, 2024

判断 github 链接不为 http(s):// 开头时自动补充 https 前缀

兼容 raw/gist 链接添加 https 前缀
判断 github 链接不为 http(s):// 开头时添加 https:// 前缀
@M4nk1n
Copy link
Contributor Author

M4nk1n commented Mar 18, 2024

修改了一下,不判断 http 是否存在,改为“以 http 开头”

@hunshcn hunshcn merged commit 9b24915 into hunshcn:master Mar 18, 2024
@M4nk1n M4nk1n mentioned this pull request Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants