mirror of
https://github.com/dergigi/boris.git
synced 2025-12-17 06:34:24 +01:00
Merge pull request #39 from dergigi/fix-opengraph-stuff
Fix OpenGraph meta tags for article URLs
This commit is contained in:
@@ -2,13 +2,6 @@
|
|||||||
"rewrites": [
|
"rewrites": [
|
||||||
{
|
{
|
||||||
"source": "/a/:naddr",
|
"source": "/a/:naddr",
|
||||||
"has": [
|
|
||||||
{
|
|
||||||
"type": "header",
|
|
||||||
"key": "user-agent",
|
|
||||||
"value": ".*(bot|crawl|spider|slurp|facebook|twitter|linkedin|whatsapp|telegram|slack|discord|preview).*"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"destination": "/api/article-og?naddr=:naddr"
|
"destination": "/api/article-og?naddr=:naddr"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user