Closed jneilliii closed 8 months ago
I wonder which solution would be better/more future-proof. Im not sure why the image disappeared, not sure what has changed on their side.
I think we will take this approach for now. So thank you for your (both) contributions!
I'm not exactly sure what the camo link is from, but shows as how it's linked on the readme in the repo. For direct link to github content I would probably use https://github.com/OctoPrint/OctoPrint/blob/master/docs/images/octoprint-logo.png?raw=true
or direct from the website maybe https://octoprint.org/assets/img/logo.png
Honestly im not sure why i decided for the camo link in the past 😅 maybe wasn't the best idea. If it breaks again, we should rather go for one of the other links.
For direct link to github content I would probably use
https://github.com/OctoPrint/OctoPrint/blob/master/docs/images/octoprint-logo.png?raw=true
You can find a solution implementing this in the PR I made. It doesn't use the raw parameter, but GitHub handles that gracefully. I obtained the nonraw link through GitHub's methods of obtaining the permalink.
I also think using this link is better, because it's less likely to get purged from GitHub's CDN servers. The camo links are CDN meta-links.
I also think using this link is better, because it's less likely to get purged from GitHub's CDN servers. The camo links are CDN meta-links.
Thank you for the info @HumbleDeer, are you willing to reopen your PR, update it if necessary and we merge it afterwards?
I also think using this link is better, because it's less likely to get purged from GitHub's CDN servers. The camo links are CDN meta-links.
Thank you for the info @HumbleDeer, are you willing to reopen your PR, update it if necessary and we merge it afterwards?
Sure!
I've got an alt/dupe of this, but with the logo from the docs directory: https://github.com/dw-0/kiauh/pull/424