Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
vladyslavarkavenko committed Jun 6, 2024
1 parent db343c9 commit e332b23
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ export function validateCreateUrlFormData(formData: FormData) {
throw new CreateUrlError('url', 'Invalid URL');
}

console.log(parsedUrl);

if (!allowedProtocols.includes(parsedUrl.protocol)) {
throw new CreateUrlError('url', 'Only HTTP and HTTPS URLs are allowed');
}
Expand Down

0 comments on commit e332b23

Please sign in to comment.