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.

fixed sitemap

Steven Teybb296ec29ea9
diff --git a/pages/sitemap.xml.tsx b/pages/sitemap.xml.tsx
index 704a41bf93..23f952843e 100644
--- a/pages/sitemap.xml.tsx
+++ b/pages/sitemap.xml.tsx
@@ -15,11 +15,12 @@ function generateSiteMap({
<loc>${hostname}</loc>
</url>
${
- hostname === "https://dub.sh" &&
- `<url>
+ hostname === "https://dub.sh"
+ ? `<url>
<loc>${hostname}/metatags</loc>
</url>
`
+ : ""
}
${links
.map(({ key }) => {