Skip to content

Commit 522f3e2

Browse files
committed
fix(teams): add 1drv.com apex to OneDrive share-link branch
1drv.com (apex) is a short-link domain functionally equivalent to 1drv.ms and requires share-token resolution, not direct fetch. CDN subdomains (files.1drv.com) are unaffected — the exact-match check leaves them on the direct-fetch path.
1 parent ee9812c commit 522f3e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/sim/lib/webhooks/providers/microsoft-teams.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ async function formatTeamsGraphNotification(
254254

255255
const isOneDriveShareLink =
256256
contentHost === '1drv.ms' ||
257+
contentHost === '1drv.com' ||
257258
contentHost === 'microsoftpersonalcontent.com' ||
258259
contentHost.endsWith('.microsoftpersonalcontent.com')
259260

0 commit comments

Comments
 (0)