From eaede7816734fe35fc4626feea0a6f7b39d9a506 Mon Sep 17 00:00:00 2001 From: Malcolm Holmes Date: Thu, 2 Nov 2023 14:10:34 +0000 Subject: [PATCH 1/2] Support VSCodium --- src/middleware.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/middleware.ts b/src/middleware.ts index 1da5bd2bfa..43b5aa00a3 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -7,7 +7,8 @@ export function detectRequestSource( ) { const userAgent = req.headers["user-agent"]; - if (userAgent?.includes("Code") && userAgent?.includes("Electron")) { + if ((userAgent?.includes("Code") || userAgent?.includes("code")) + && userAgent?.includes("Electron")) { next(); } else { res.status(403).send("Access Denied"); From fb38a15566af54e0e63d88a22cf00d2b5da81d25 Mon Sep 17 00:00:00 2001 From: Malcolm Holmes Date: Thu, 2 Nov 2023 14:22:41 +0000 Subject: [PATCH 2/2] Bump version for release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 991ed2d8da..71e2be1085 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "displayName": "Grafana", "description": "Grafana Editor", "icon": "public/grafana_icon.png", - "version": "0.0.8", + "version": "0.0.9", "license": "Apache-2.0", "repository": { "type": "git",