fix: webembed api

This commit is contained in:
March 7th 2022-11-10 12:31:45 +07:00
parent e7f0d3dbda
commit da25e6bc69

View File

@ -381,7 +381,7 @@ class WebEmbed {
}
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 = `${
embed.shortenAPI && typeof embed.shortenAPI == 'string'
? embed.shortenAPI