From fa34a7692e312847333e2e175bc8b0d30281cf7c Mon Sep 17 00:00:00 2001 From: Dominik Prokop Date: Fri, 14 Feb 2020 15:13:49 +0100 Subject: [PATCH] Make Explore panel link work when grafana served from sub url (#22202) * Make explore url work when grafana served from sub url * Update public/app/core/utils/explore.ts --- public/app/core/utils/explore.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/app/core/utils/explore.ts b/public/app/core/utils/explore.ts index 6be1936e3ea..9ca47ffbc5e 100644 --- a/public/app/core/utils/explore.ts +++ b/public/app/core/utils/explore.ts @@ -108,8 +108,7 @@ export async function getExploreUrl(args: GetExploreUrlArguments) { const exploreState = JSON.stringify({ ...state, originPanelId: panel.id }); url = renderUrl('/explore', { left: exploreState }); } - const finalUrl = config.appSubUrl + url; - return finalUrl; + return url; } export function buildQueryTransaction(