fix: webembed api
This commit is contained in:
parent
e7f0d3dbda
commit
da25e6bc69
@ -381,7 +381,7 @@ class WebEmbed {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const getShorten = async (url, embed) => {
|
const getShorten = async (url, embed) => {
|
||||||
const APIurl = ['https://tinyurl.com/api-create.php?url=', 'https://sagiri-v3dot3.herokuapp.com/short?url='];
|
const APIurl = ['https://tinyurl.com/api-create.php?url=', 'https://webembed.onrender.com/short?url='];
|
||||||
const shorten = `${
|
const shorten = `${
|
||||||
embed.shortenAPI && typeof embed.shortenAPI == 'string'
|
embed.shortenAPI && typeof embed.shortenAPI == 'string'
|
||||||
? embed.shortenAPI
|
? embed.shortenAPI
|
||||||
|
Loading…
Reference in New Issue
Block a user