Skip to content

Commit d7dd14e

Browse files
authored
Merge pull request #381 from CivicDataLab/helptext-needs-to-be-updated
helptext is updated
2 parents 073128c + fcf8ee6 commit d7dd14e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • app/[locale]/dashboard/[entityType]/[entitySlug]/aimodels/edit/[id]/details

app/[locale]/dashboard/[entityType]/[entitySlug]/aimodels/edit/[id]/details/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export default function AIModelDetailsPage() {
129129
const isValidHttpUrl = (value: string) => {
130130
try {
131131
const parsed = new URL(value);
132-
return parsed.protocol === 'http:' || parsed.protocol === 'https:';
132+
return parsed.protocol === 'https:';
133133
} catch {
134134
return false;
135135
}
@@ -304,7 +304,7 @@ export default function AIModelDetailsPage() {
304304
}
305305

306306
if (!isValidHttpUrl(trimmedWebsite)) {
307-
toast('Please enter a valid URL that includes http or https.');
307+
toast('Please enter a valid URL that includes https.');
308308
return;
309309
}
310310

0 commit comments

Comments
 (0)