mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
canBrowserPreview() was checking for a file extension in blob: URLs, which have none (blob:http://localhost:1349/<uuid>). This caused the optimize-for-web live preview — which stores a blob: URL in processedUrl — to always return false and show the 'Conversion complete' fallback card instead of the BeforeAfterSlider. Fix: blob: URLs are always renderable in <img> tags; short-circuit the extension check with `if (url.startsWith('blob:')) return true` in both tool-page.tsx and multi-image-viewer.tsx.