riccardoperra / codeimage

A tool to beautify your code screenshots. Built with SolidJS and Fastify.
https://codeimage.dev
MIT License
1.35k stars 74 forks source link

🐞 - Site not loading #575

Closed hadiyarajesh closed 9 months ago

hadiyarajesh commented 10 months ago

Which @codeimage/* package(s) are the source of the bug?

codeimage

Please provide a screenshot or a video to a minimal reproduction of the bug

https://app.codeimage.dev site not loading

Description

Trying to load the site, but it's not working. Only loading animation is shown on laptop (working fine on mobile devices). Tried on multiple browser/multiple systems but not working. Only error I can see in network inspector is "cascadia font not loading"

Screenshot 2023-11-22 at 11 32 21 PM

Which browsers have you used?

Which operating systems have you used?

riccardoperra commented 10 months ago

Hi, i'm not able to reproduce that issue neither in window and mac. Do you have any installed extension in your browser? Sometimes adblockers prevent to download some resources. The loading font that you're trying to download is an external resource and it's answering with 200 to me. Do you have any other error in your console?

Anyway, can you try to clear the cache of both local storage and indexedDB?

image

EDIT: I also did't found in the code any {fontName} is not loading message 🤔 all fonts are not render blocking. I did a test in my dev environment changing the urls into something broken but everything is rendering fine

image

hadiyarajesh commented 10 months ago

Yes, it solved in chrome now. It still gives errors in safari, but that'll be fine. Thank you (+1 Thank you for creating code image ❤️)

riccardoperra commented 10 months ago

What version of safari do you use?

hadiyarajesh commented 10 months ago

What version of safari do you use?

Version 17.1 (19616.2.9.11.7) with AdGuard for safari. (Although Chrome with uBlock origin worked)

riccardoperra commented 10 months ago

I'll do a check soon since i'm waiting for a new macbook 😄 Currently I can test only on safari 16.

Anyway thanks for reaching me 😄 I'm reopening this issue just as reminder

riccardoperra commented 9 months ago

Hi, after an investigation I'm not able to reproduce that issue even with AdGuard for safari (Version 17.2.1 (19617.1.17.11.12)).

Screenshot 2023-12-31 alle 12 01 04

I saw that the network URL were "fon2ts.googleapis.com" but it should be fonts.googleapis.com. Don't know what's causing this.

I'm closing that issue at the moment but if the error is still present just ping me.