From cc029eab9a71bcee6b76652e96bb6253a3d240a9 Mon Sep 17 00:00:00 2001 From: iriska-gri <79623434+iriska-gri@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:00:49 +0300 Subject: [PATCH] ff --- db.sqlite3 | Bin 376832 -> 376832 bytes front/package-lock.json | 4 ++-- front/package.json | 2 +- front/src/utils/universal_functions.js | 17 +++++++++++------ 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/db.sqlite3 b/db.sqlite3 index b99df7b5bf95f59e32de5cb3129092b09a716d38..6ceb3825f958aad3388ec6c64515d42910317aa9 100644 GIT binary patch delta 353 zcmZo@5N~J@pCHAgr87~+2}o{CNYiDTteDE|&N%&oGK*~UOWpRDx{TXj>N3?E=o=d7 z8ks5>8d@1!SeY8@S(q6aSsEJ|7#Ztg$QT+~nr)vR$CPczcZ`9Be;Wh;1^x&8+xS0h z7Iav~KYiPLCIKl11_mxmOEWWF1Ab;@MhMFQXq36Y^at~qRG6i?O{cRjV3KD7(rOEs z+P1G-z|_t)J#RIW1>@xHKx&!@voycoboK*GrcC^P+wBf83GlPCF*7m=Fif5vdY)-L zvovSZboL8OCd{XR42KI$V%tM5FzInJyEY0>Z@A55Da<2)aKB5V5F0}=+)^zprEpGHe8*(Ti(~}Dbb@{vVP$A7~2~8>5C=0v97_>PkqWr5gG+ zr9`w8LwYDu#u0I+;`%Q#EGz2qEsjjCKV^Ma5Ga~I%o zOcNqK;O99+ge)&y!O4KA&^*d@NPu^QPu0Ok<=)!e93hy0f*VnBHBh!7E;KM}!64== zkockn6E1viK|Jt#LhE4|ggCQBK?qrA&DouPCn>tH*@6VhZ72!j{Gbh64pDIjQMP}` kY*^qMHmtdjy@5~GQk&jWX%|=CAzBW0p(l|CyORC#4KtW*(f|Me diff --git a/front/package-lock.json b/front/package-lock.json index 0564dd613..5b96438d0 100644 --- a/front/package-lock.json +++ b/front/package-lock.json @@ -1,12 +1,12 @@ { "name": "front", - "version": "0.0.18", + "version": "0.0.19", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "front", - "version": "0.0.18", + "version": "0.0.19", "dependencies": { "@fullcalendar/core": "^6.1.8", "@fullcalendar/daygrid": "^6.1.8", diff --git a/front/package.json b/front/package.json index 6dccaecbb..dc20529ad 100644 --- a/front/package.json +++ b/front/package.json @@ -1,6 +1,6 @@ { "name": "front", - "version": "0.0.18", + "version": "0.0.19", "scripts": { "dev": "vite", "build": "vite build", diff --git a/front/src/utils/universal_functions.js b/front/src/utils/universal_functions.js index a988f0425..e26e97e86 100644 --- a/front/src/utils/universal_functions.js +++ b/front/src/utils/universal_functions.js @@ -28,12 +28,17 @@ export function getfromserver(path, reactive){ export function checkremote(filecheck){ - let tmp = new Image - tmp.src=filecheck - if(tmp.complete){ - return filecheck - } - else {return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg"} + axiosApiInstance.get(filecheck).then(result => { + console.log(result, '-------------'); + }).catch(e=>{ + return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg" + }) + // let tmp = new Image + // tmp.src=filecheck + // if(tmp.complete){ + // return filecheck + // } + // else {return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg"} }