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.

Update link prefix support

Steven Teyb8dc5ee2ed9d
diff --git a/packages/utils/src/functions/keys.ts b/packages/utils/src/functions/keys.ts
index 858980aa90..db3b50616c 100644
--- a/packages/utils/src/functions/keys.ts
+++ b/packages/utils/src/functions/keys.ts
@@ -8,7 +8,7 @@ export const isUnsupportedKey = (key: string) => {
if (key === "_root") {
return false;
}
- const excludedPrefix = [".well-known", "_"];
+ const excludedPrefix = [".well-known"];
const excludedSuffix = [".php", ".php7"];
return (
excludedPrefix.some((prefix) => key.startsWith(prefix)) ||