1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-22 03:14:48 +07:00

fix: localhost domain download tarball button

This commit is contained in:
Griffithtp 2019-07-10 23:51:25 +01:00
parent c6c164de50
commit cca2c3c0d7

View File

@ -6,6 +6,7 @@ export function isURL(url): boolean {
return isURLValidator(url || '', {
protocols: ['http', 'https', 'git+https'],
require_protocol: true,
require_tld: false,
});
}