- Prepend
github.com
withvx
https://github.com -> https://vxgit.1-hub.cn
- replace
#
's with/
's
For example:
- https://github.com/$org/$repo/issues/$issue_number#issuecomment-$comment_id
+ https://vxgit.1-hub.cn/$org/$repo/issues/$issue_number/issuecomment-$comment_id
Note
The fragment isn't passed to the server, so you have to replace it with a /
yourself.
See RFC 3986 3.5: Fragment for more information.
- Issue Comment (
/$org/$repo/issues/$issue_number/issuecomment-$comment_id
) - PR Comment (
/$org/$repo/pull/$pr_number#issuecomment-$comment_id
) - PR Review Comment (
/$org/$repo/pull/$pr_number#discussion_r$comment_id
) - PR Review (
/$org/$repo/pull/$pr_number#pullrequestreview$comment_id
)