Skip to content

Commit

Permalink
Update packages/drivers/odsp-driver/src/fetchSnapshot.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Navin Agarwal <45832642+agarwal-navin@users.noreply.github.com>
  • Loading branch information
jatgarg and agarwal-navin authored Apr 19, 2024
1 parent 873869e commit 84e2449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/drivers/odsp-driver/src/fetchSnapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ async function redeemSharingLink(
);
// There is an issue where if we use the siteUrl in /shares, then the allowed length of url is just a few hundred characters
// and we fail to do the redeem. But if we use the tenant domain in the url, then the allowed length becomes 2048. So, first
// construct the url for /shares using tenant domain but to be on safer side, fallback to what we were using before.
// construct the url for /shares using tenant domain but to be on safer side, fallback to using the siteUrl.
if (!disableUsingTenantDomain) {
try {
await callSharesAPI(new URL(odspResolvedUrl.siteUrl).origin);
Expand Down

0 comments on commit 84e2449

Please sign in to comment.