Skip to content

Commit 549eb67

Browse files
committed
fix: service connection regex
1 parent 1172c6f commit 549eb67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export function current(): {
211211
const regex = {
212212
tunnelID: /tunnelID=([0-9a-z-]+)/,
213213
connectorID: /Connector ID: ([0-9a-z-]+)/,
214-
connect: /Connection ([a-z0-9-]+) registered connIndex=(\d) ip=([0-9.]+) location=([A-Z]+)/,
214+
connect: /Connection ([a-z0-9-]+) (?:.*?)connIndex=(\d) ip=([0-9.]+) location=([A-Z]+)/,
215215
disconnect: /Unregistered tunnel connection connIndex=(\d)/,
216216
metrics: /metrics server on ([0-9.:]+\/metrics)/,
217217
config: /config="(.+[^\\])"/,

0 commit comments

Comments
 (0)