[BUG] 403 for gits using different than "master" branch
Hi there, nowdays many gits don't uses "master" branch anymore, so I've noticed that recently the service don't produce correct badges for.
Example:
| Repository | License |
|---|---|
| LCC | |
| ADRO |
LLC has "master" branch while ADRO has a "main" one instead.
Please fix it if possible.
Thanks in advance.
Let's see if we can support both
Works fine for my tests. I think this issue can be closed.
Leaflet with main branch:
ADRO just doesn't have any license file: , https://github.com/mishra-raman/ADRO, https://api.github.com/repos/mishra-raman/ADRO
Sorry, bad example.
KFR:
license: https://github.com/kfrlib/kfr/blob/main/LICENSE.txt
PTZ Joystick Control:
license: https://github.com/AronHetLam/PTZJoystickControl/blob/main/LICENSE.txt
@MarcoRavich still working for me 🫤
https://badgen.net/github/license/kfrlib/kfr:
https://badgen.net/github/license/AronHetLam/PTZJoystickControl:
Ok, don't know/understand why, but works inside the GitHub app (Android) and doesn't in desktop firefox browser (Win)...
I use Firefox on Windows too. Can you please try to open the link in the browser directly without Github. Because Github caches images.
https://badgen.net/github/license/kfrlib/kfr
https://badgen.net/github/license/kfrlib/kfr
Yes, this works.
Anyway here's what I see here: