mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04: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"
|
|
}
|
|
]
|
|
}
|
|
] |