From df9ad609030566529d7854be9e5e638c53efa7fe Mon Sep 17 00:00:00 2001 From: Nastya Date: Sat, 23 Aug 2025 18:45:13 +0300 Subject: [PATCH] =?UTF-8?q?varimg=20=D0=BF=D1=80=D0=B8=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=B3=D1=80=D1=83=D0=B7=D0=BA=D0=B5=20=D0=BA=D0=B0=D1=80=D1=82?= =?UTF-8?q?=D0=B8=D0=BD=D0=BA=D0=B8=20=D0=BD=D0=B5=20=D1=81=D0=B1=D1=80?= =?UTF-8?q?=D0=B0=D1=81=D1=8B=D0=B2=D0=B0=D0=B5=D1=82=20=D1=82=D0=B5=D0=BA?= =?UTF-8?q?=D1=81=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ViewPublicationPage/questions/Varimg/OwnVarimgImage.tsx | 2 +- lib/utils/defineDomain.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/ViewPublicationPage/questions/Varimg/OwnVarimgImage.tsx b/lib/components/ViewPublicationPage/questions/Varimg/OwnVarimgImage.tsx index e4459e6..e5faccd 100644 --- a/lib/components/ViewPublicationPage/questions/Varimg/OwnVarimgImage.tsx +++ b/lib/components/ViewPublicationPage/questions/Varimg/OwnVarimgImage.tsx @@ -49,7 +49,7 @@ export const OwnVarimgImage = forwardRef( const fileId = data?.data.fileIDMap[questionId]; const localImageUrl = URL.createObjectURL(file); - updateOwnVariant(variantId, "", "", fileId, localImageUrl); + updateOwnVariant(variantId, null, "", fileId, localImageUrl); // Убираем автоматический выбор own варианта - загрузка возможна только при выбранном own варианте // updateAnswer(questionId, variantId, 0); } catch (error) { diff --git a/lib/utils/defineDomain.ts b/lib/utils/defineDomain.ts index 94278b9..6424872 100644 --- a/lib/utils/defineDomain.ts +++ b/lib/utils/defineDomain.ts @@ -12,7 +12,7 @@ const isProduction = !( ); //туризм больше не в исключениях -if (!isProduction) domain = "https://s.hbpn.link"; +if (!isProduction) domain = "https://hbpn.link"; // domain = "https://hbpn.link"; export { domain, isProduction };