From 03223b158249a5b5d653343c1b8958570e4a5d57 Mon Sep 17 00:00:00 2001 From: TankorSmash Date: Tue, 20 Feb 2024 16:15:18 -0800 Subject: [PATCH] Update url-pattern.js to include 'devtools' URL This is used for nodejs debugging (among other things) --- extension/src/json-viewer/url-pattern.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/src/json-viewer/url-pattern.js b/extension/src/json-viewer/url-pattern.js index 888178bb..fcaa2e2f 100644 --- a/extension/src/json-viewer/url-pattern.js +++ b/extension/src/json-viewer/url-pattern.js @@ -59,7 +59,7 @@ function relativePath() { } function absolutePath() { - return "(?:(?:https?|ftp)://)" + /* protocol identifier*/ + return "(?:(?:https?|ftp|devtools)://)" + /* protocol identifier*/ "(?:\\S+(?::\\S*)?@)?" + /* user:pass authentication*/ "(?:" + "(?:\\[[a-f0-9.:]+\\])" + /* IPv6 or hybrid addresses*/