Share link hotfix (#1513)
This commit is contained in:
parent
2711047166
commit
9255c507d6
2 changed files with 6 additions and 1 deletions
5
packages/web/public/robots.txt
Normal file
5
packages/web/public/robots.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
User-agent: *
|
||||||
|
Allow: /
|
||||||
|
|
||||||
|
# Disallow shared content pages
|
||||||
|
Disallow: /s/
|
||||||
|
|
@ -71,7 +71,7 @@ const ogImage = `${config.socialCard}/opencode-share/${encodedTitle}.png?model=$
|
||||||
tag: "meta",
|
tag: "meta",
|
||||||
attrs: {
|
attrs: {
|
||||||
name: "robots",
|
name: "robots",
|
||||||
content: "noindex",
|
content: "noindex, nofollow, noarchive, nosnippet",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue