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
This commit is contained in:
Dominik Prokop 2020-02-14 15:13:49 +01:00 committed by GitHub
parent 565387a42e
commit fa34a7692e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(