mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-28 21:22:02 +00:00
![Patrick Cloke](/assets/img/avatar_default.png)
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"
|
|
}
|
|
]
|
|
}
|
|
] |