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 {
|
export function isURIValid(URL: string): boolean {
|
||||||
try {
|
try {
|
||||||
let parts = parseURI(normalizeURI(URL));
|
parseURI(normalizeURI(URL));
|
||||||
console.log('parts', parts);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue