From 5dc5eadf28cd9b571f9ab5127007e7ce535f9ca0 Mon Sep 17 00:00:00 2001 From: Jeroen Reumkens Date: Mon, 31 Oct 2022 10:48:17 +0100 Subject: [PATCH] Allow og image api in robots.txt (#5283) Co-authored-by: Peer Richelsen --- apps/web/public/robots.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/public/robots.txt b/apps/web/public/robots.txt index 783e6bf66a..51fb71de47 100644 --- a/apps/web/public/robots.txt +++ b/apps/web/public/robots.txt @@ -2,3 +2,6 @@ User-agent: * Disallow: /sandbox Disallow: /api Disallow: /static/locales + +# Specifically allow access to OG Image api, otherwise eg Twitter won't render these images. +Allow: /api/social/og/image \ No newline at end of file