support adding http://localhost:8545 as a node
This commit is contained in:
parent
010b617da6
commit
4b3a677f4d
|
@ -334,7 +334,7 @@ QtObject {
|
|||
}
|
||||
|
||||
function isURL(text) {
|
||||
return (/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/.test(text))
|
||||
return (/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}(\.[a-zA-Z0-9()]{1,6})?\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/.test(text))
|
||||
}
|
||||
|
||||
function isURLWithOptionalProtocol(text) {
|
||||
|
|
Loading…
Reference in New Issue