Skip to content

Commit db30a06

Browse files
committed
fix: allow api og route for thumbnails
1 parent 0918421 commit db30a06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/robots.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export default function robots(): MetadataRoute.Robots {
66
rules: {
77
userAgent: "*",
88
allow: ["/"],
9-
disallow: ["/404", "/500", "/api"],
9+
disallow: ["/404", "/500", "/api/*", "!/api/og/*"],
1010
},
11-
sitemap: [`${BASE_URL}/sitemap.xml`]
11+
sitemap: [`${BASE_URL}/sitemap.xml`],
1212
};
1313
}

0 commit comments

Comments
 (0)