diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f7aa30163..c8a5139de4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to the "grafana-vscode" extension will be documented in this file. +## v0.0.16 +- Add additional proxy endpoints (to support more dashboards/etc) (#80) + ## v0.0.15 - Follow redirects and don't fail on trailing slashes (#77) - Theming (light/dark) support for Grafana (#74) diff --git a/package.json b/package.json index 10dd95771f..e1a44876c7 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "displayName": "Grafana", "description": "Grafana Editor", "icon": "public/grafana_icon.png", - "version": "0.0.15", + "version": "0.0.16", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/src/server.ts b/src/server.ts index bc163c6039..9f618c3eef 100644 --- a/src/server.ts +++ b/src/server.ts @@ -188,6 +188,7 @@ export async function startServer(secrets: vscode.SecretStorage, extensionPath: "/public/*", "/api/datasources/proxy/*", "/api/datasources/*", + "/api/plugins/*", ]; for (const path of mustProxyGET) { app.get(path, function (req, res) { @@ -195,7 +196,10 @@ export async function startServer(secrets: vscode.SecretStorage, extensionPath: }); } - const mustProxyPOST = ["/api/ds/query"]; + const mustProxyPOST = [ + "/api/ds/query", + "/api/datasources/proxy/*", + ]; for (const path of mustProxyPOST) { app.post(path, function (req, res) { proxy.web(req, res, {});