mirror of
https://github.com/open-webui/open-webui
synced 2024-11-08 17:49:57 +00:00
ac9308dbed
Browsers and plugins that spoof canvas data produce corrupt images. In attempt to mitigate: * Add canvasPixelTest() to test a single pixel and test the RGB values * Test canvasPixelTest() inside generateInitialsImage() and use default `/user.png` if failure detected * Call canvasPixelTest() directly within settings to avoid setting an invalid image * Use toast.error() with 10 second autoClose |
||
---|---|---|
.. | ||
rag | ||
transitions | ||
index.ts |