Share: Fix short links when root_url is different from the browser URL (#99950)

Share: Fix short links when appUrl is misconfigured
pull/100039/head^2
Agnès Toulet 5 months ago committed by GitHub
parent 6e7e389ee2
commit cd7c9f8666
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      public/app/core/utils/shortLinks.ts

@ -70,7 +70,7 @@ export const createDashboardShareUrl = (dashboard: DashboardScene, opts: ShareLi
slug: dashboard.state.meta.slug,
currentQueryParams: location.search,
updateQuery: urlParamsUpdate,
absolute: true,
absolute: !opts.useShortUrl,
});
};

Loading…
Cancel
Save