1
0
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:
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,
});
}