Skip to content

High performance self-hosted photo and video management solution.

feat: Add rule on robots.txt to allow robots access og tags (#15470)

Yan-Ru Huang6fdb8f83f0a0
diff --git a/web/static/robots.txt b/web/static/robots.txt
index b21f0887ac..9be576a0f5 100644
--- a/web/static/robots.txt
+++ b/web/static/robots.txt
@@ -1,3 +1,8 @@
+# Allow social media access og Tags
+User-agent: *
+Allow: /share/
+Allow: /api/assets/
+
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow: /