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 robots.ts

Steven Tey1ac31ec421c5
diff --git a/apps/web/app/robots.ts b/apps/web/app/robots.ts
index 211ce75926..d5571d24bb 100644
--- a/apps/web/app/robots.ts
+++ b/apps/web/app/robots.ts
@@ -12,11 +12,17 @@ export default function robots(): MetadataRoute.Robots {
}
return {
- rules: {
- userAgent: "Googlebot",
- allow: ["/$", "/api/og/"], // allow the home page and the OG image API
- disallow: "/", // disallow everything else
- },
+ rules: [
+ {
+ userAgent: "Googlebot", // for Googlebot
+ allow: ["/$", "/api/og/"], // allow the home page and the OG image API
+ disallow: "/", // disallow everything else
+ },
+ {
+ userAgent: "LinkedInBot", // for LinkedInBot
+ allow: "/", // allow everything
+ },
+ ],
sitemap: `https://${domain}/sitemap.xml`,
};
}