Panda
Is storing a large file into Node public folder possible?
I'd have an api that loads the file from a google bucket and stores it into the public folder. I'd like to do this because I need to use these big images all the time and they aren't changing at all, but I can't upload them to Github. I'd like to read them with like fs.readFile(...), so it's quicker read time
I tried just using them from the bucket but each read takes like 4 hours, so it's not really feasible.
24 replies
Loading custom fonts in node-canvas doesn't quite work
I do it like it's done here:
https://discord.com/channels/713503345364697088/1130829248039497800
but when I'm loading 4 fonts, it just loads in the first one and no matter what fontFamily i use in my text elements, it always uses the first font
5 replies