fix typo
This commit is contained in:
parent
22c601ab9b
commit
0a1c95a088
1 changed files with 1 additions and 2 deletions
|
@ -260,8 +260,7 @@ export function normalizeURI(URL: string) {
|
|||
|
||||
export function isURIValid(URL: string): boolean {
|
||||
try {
|
||||
let parts = parseURI(normalizeURI(URL));
|
||||
console.log('parts', parts);
|
||||
parseURI(normalizeURI(URL));
|
||||
} catch (error) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue