Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add xmpp: to supported deeplink protocols

Steven Tey38ad273cc342
diff --git a/apps/web/lib/middleware/utils/is-supported-deeplink-protocol.ts b/apps/web/lib/middleware/utils/is-supported-deeplink-protocol.ts
index d178a6402d..3ebcd9320e 100644
--- a/apps/web/lib/middleware/utils/is-supported-deeplink-protocol.ts
+++ b/apps/web/lib/middleware/utils/is-supported-deeplink-protocol.ts
@@ -1,9 +1,10 @@
const supportedDeeplinkProtocols = [
"mailto:",
- "tel:",
"sms:",
- "whatsapp:",
+ "tel:",
"tg:",
+ "whatsapp:",
+ "xmpp:",
];
export const isSupportedDeeplinkProtocol = (url: string) => {