diff --git a/server/routers/dry-wash/order.js b/server/routers/dry-wash/order.js index 8244900..6832117 100644 --- a/server/routers/dry-wash/order.js +++ b/server/routers/dry-wash/order.js @@ -387,7 +387,7 @@ const analyzeImage = async (fileId, token) => { const convertFileToBase64 = (file) => { const base64Image = file.buffer.toString('base64') - return base64Image + return `data:${file.mimetype};base64,${base64Image}` } process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = "0"