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

Share: Fix short links when appUrl is misconfigured
This commit is contained in:
Agnès Toulet
2025-02-04 14:00:55 +01:00
committed by GitHub
parent 6e7e389ee2
commit cd7c9f8666
+1 -1
View File
@@ -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,
});
};