mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 17:04:21 -05:00
e2481dbe93
This adds configuration options (under an `oembed` section) to configure which URLs are matched to use oEmbed for URL previews.
17 lines
492 B
JSON
17 lines
492 B
JSON
[
|
|
{
|
|
"provider_name": "Twitter",
|
|
"provider_url": "http://www.twitter.com/",
|
|
"endpoints": [
|
|
{
|
|
"schemes": [
|
|
"https://twitter.com/*/status/*",
|
|
"https://*.twitter.com/*/status/*",
|
|
"https://twitter.com/*/moments/*",
|
|
"https://*.twitter.com/*/moments/*"
|
|
],
|
|
"url": "https://publish.twitter.com/oembed"
|
|
}
|
|
]
|
|
}
|
|
] |