fix wembed

This commit is contained in:
March 7th
2022-05-22 12:43:30 +07:00
parent c08085cecc
commit afa03f25aa
2 changed files with 2 additions and 2 deletions

View File

@@ -369,7 +369,7 @@ const getShorten = async url => {
const APIurl = [
'https://tinyurl.com/api-create.php?url=',
'https://sagiri-fansub.tk/api/v1/short?url=', // My api, pls don't ddos :(
'https://lazuee.ga/api/v1/shorten?url=',
// 'https://lazuee.ga/api/v1/shorten?url=',
];
try {
const res = await axios.get(`${APIurl[Math.floor(Math.random() * APIurl.length)]}${encodeURIComponent(url)}`);