Redirect to native zip URL when pasting a link to a branch, commit or tag
fregante opened this issue · comments
Federico Brigante commented
For example:
https://github.com/fregante/webext-domain-permission-toggle
https://github.com/fregante/webext-domain-permission-toggle/tree/main
https://github.com/fregante/webext-domain-permission-toggle/tree/v3.0.0
https://github.com/fregante/webext-domain-permission-toggle/tree/e125b40129e53342bc6ac07a1afc29696da347a4
Should just point to
https://github.com/fregante/webext-domain-permission-toggle/archive/refs/heads/main.zip
https://github.com/fregante/webext-domain-permission-toggle/archive/refs/tags/v3.0.0.zip
https://github.com/fregante/webext-domain-permission-toggle/archive/e125b40129e53342bc6ac07a1afc29696da347a4.zip