Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}

Expand Down
Loading