Skip to content

Commit 2ed3b40

Browse files
bobularaurreco-uga
authored andcommitted
added colons to protocol strings
(cherry picked from commit 0a9fd8b)
1 parent 7a6a275 commit 2ed3b40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/libs/user-datasets/src/lib/Components/UploadForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ function isValidUrl(string: string) {
663663
} catch (_) {
664664
return false;
665665
}
666-
return url.protocol === 'http' || url.protocol === 'https';
666+
return url.protocol === 'http:' || url.protocol === 'https:';
667667
}
668668

669669
export default UploadForm;

0 commit comments

Comments
 (0)