Merge pull request #409 from shocknet/fix/better-regex
make linter happy
This commit is contained in:
commit
e802e9b5dd
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ const server = program => {
|
|||
relayClient.default(opts, async (connected, params) => {
|
||||
if (connected) {
|
||||
const noProtocolAddress = params.address.replace(
|
||||
/^http(s)?:\/\//gi, // eslint-disable-line
|
||||
/^http(?<secure>s)?:\/\//giu,
|
||||
''
|
||||
)
|
||||
await Promise.all([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue