Latest Updates

Documenting code, one commit at a time.

CORS 1 post
×

Handling Image Downloads in brenia

The Breniapp project recently addressed an issue with image downloads in its content generation feature. Instead of directly downloading images, the application was opening them in a new tab when the html2canvas library failed due to Cross-Origin Resource Sharing (CORS) restrictions. This behavior was not ideal for user experience, so a solution was implemented to ensure proper downloading.

Read more