From fcf8ee6e820e9f546364de0281655c3add5330ac Mon Sep 17 00:00:00 2001 From: UdayRajSahai2 Date: Wed, 25 Mar 2026 12:37:19 +0530 Subject: [PATCH] helptext is updated --- .../[entitySlug]/aimodels/edit/[id]/details/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/[locale]/dashboard/[entityType]/[entitySlug]/aimodels/edit/[id]/details/page.tsx b/app/[locale]/dashboard/[entityType]/[entitySlug]/aimodels/edit/[id]/details/page.tsx index d2f51616..07c45dcd 100644 --- a/app/[locale]/dashboard/[entityType]/[entitySlug]/aimodels/edit/[id]/details/page.tsx +++ b/app/[locale]/dashboard/[entityType]/[entitySlug]/aimodels/edit/[id]/details/page.tsx @@ -129,7 +129,7 @@ export default function AIModelDetailsPage() { const isValidHttpUrl = (value: string) => { try { const parsed = new URL(value); - return parsed.protocol === 'http:' || parsed.protocol === 'https:'; + return parsed.protocol === 'https:'; } catch { return false; } @@ -304,7 +304,7 @@ export default function AIModelDetailsPage() { } if (!isValidHttpUrl(trimmedWebsite)) { - toast('Please enter a valid URL that includes http or https.'); + toast('Please enter a valid URL that includes https.'); return; }