forked from sombochea/verdaccio-ui
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 || '', {
|
||||
protocols: ['http', 'https', 'git+https'],
|
||||
require_protocol: true,
|
||||
require_tld: false,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user