From e9550cea8f5d1f470ce57aaf1b6eccc0e6922fed Mon Sep 17 00:00:00 2001 From: Tom Mount Date: Wed, 2 Feb 2022 12:29:10 -0500 Subject: [PATCH 1/3] update Layer0 definition to include response headers --- src/technologies/l.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/technologies/l.json b/src/technologies/l.json index 612fc29c0..e91200812 100644 --- a/src/technologies/l.json +++ b/src/technologies/l.json @@ -185,6 +185,11 @@ "layer0_eid": "" }, "description": "Layer0 is an all-in-one Jamstack platform to develop, deploy, preview, split test, and monitor the company's frontend.", + "headers": { + "x-0-status": "", + "x-0-t": "", + "x-0-version": "" + }, "icon": "Layer0.svg", "js": { "Layer0.Metrics": "" @@ -1302,4 +1307,4 @@ ], "website": "http://www.lighttpd.net" } -} \ No newline at end of file +} From e950f36572fd934c2a8997b406513e51f85c52c3 Mon Sep 17 00:00:00 2001 From: Tom Mount Date: Wed, 2 Feb 2022 12:47:18 -0500 Subject: [PATCH 2/3] add Layer0 version metadata based on x-0-version response header --- src/technologies/l.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/technologies/l.json b/src/technologies/l.json index e91200812..f9cf26bca 100644 --- a/src/technologies/l.json +++ b/src/technologies/l.json @@ -188,7 +188,7 @@ "headers": { "x-0-status": "", "x-0-t": "", - "x-0-version": "" + "x-0-version": "^\\d+ ([\\d\\.]+) .+$\\;version:\\1" }, "icon": "Layer0.svg", "js": { From f6826b6f5603f9d3b0165ad573c3a6c4fc79aa23 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Fri, 4 Feb 2022 11:03:07 +1100 Subject: [PATCH 3/3] Update l.json --- src/technologies/l.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/technologies/l.json b/src/technologies/l.json index f9cf26bca..edd380901 100644 --- a/src/technologies/l.json +++ b/src/technologies/l.json @@ -188,7 +188,7 @@ "headers": { "x-0-status": "", "x-0-t": "", - "x-0-version": "^\\d+ ([\\d\\.]+) .+$\\;version:\\1" + "x-0-version": "^\\d+ ([\\d.]+) \\;version:\\1" }, "icon": "Layer0.svg", "js": {