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
pull/22213/head
Dominik Prokop 6 years ago committed by GitHub
parent 565387a42e
commit fa34a7692e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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(

Loading…
Cancel
Save