mirror of
https://github.com/SomboChea/ui
synced 2024-11-28 00:44:30 +07:00
fix: localhost domain download tarball button
This commit is contained in:
parent
c6c164de50
commit
cca2c3c0d7
@ -6,6 +6,7 @@ export function isURL(url): boolean {
|
|||||||
return isURLValidator(url || '', {
|
return isURLValidator(url || '', {
|
||||||
protocols: ['http', 'https', 'git+https'],
|
protocols: ['http', 'https', 'git+https'],
|
||||||
require_protocol: true,
|
require_protocol: true,
|
||||||
|
require_tld: false,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user