The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update robots.ts
Steven Tey1ac31ec421c5
diff --git a/apps/web/app/robots.ts b/apps/web/app/robots.tsindex 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`,};}