forked from apxtri/apxtri
add a log to track img bug
This commit is contained in:
parent
3b09756601
commit
84200b70b0
@ -672,6 +672,7 @@ Odmdb.cud = (objectPathname, crud, itm, role, runindex = true) => {
|
||||
//Manage base64 case image to convert ans store in webp
|
||||
if (k.includes("imgbase64_") && itmtostore[k] != "") {
|
||||
fs.ensureDirSync(`${objectPathname}/img/`);
|
||||
console.log("check this for k:",k," itmtostore[k]:",itmtostore[k])
|
||||
const imgb64 = itmtostore[k].replace(
|
||||
/^data:image\/(png|png|gif|bmp|jpg|jpeg);base64,/,
|
||||
""
|
||||
|
Loading…
x
Reference in New Issue
Block a user