Apparently `image_preview` tries to route PDF files through JIT thus throwing an error: [Error] Failed to load resource: the server responded with a status of 400 () (file.pdf, line 0)