chaiNNer-org / chaiNNer

A node-based image processing GUI aimed at making chaining image processing tasks easy and customizable. Born as an AI upscaling application, chaiNNer has grown into an extremely flexible and powerful programmatic image processing application.
https://chaiNNer.app
GNU General Public License v3.0
4.25k stars 267 forks source link

Switch to using Axios for requests #2958

Closed joeyballentine closed 1 day ago

joeyballentine commented 1 week ago

Closes #2957

IMO, the fact that the browser and nodejs implementations of fetch differ, and there is no way to natively specify timeout, is really stupid. So, I decided to just switch to using Axios instead of trying to use native fetch. Axios is able to work in both the browser and nodejs, and it defaults to having no timeout. So, we should expect this issue to never pop up again with this.

joeyballentine commented 1 day ago

Merging this so it's fixed in the nightly