mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-01 00:08:10 +09:00
fix esm
This commit is contained in:
parent
02f4d97987
commit
e51bc8b040
@ -31,7 +31,7 @@ export const urlPreviewHandler = async (ctx: Koa.Context) => {
|
||||
const summary = meta.summalyProxy ? await getJson(`${meta.summalyProxy}?${query({
|
||||
url: url,
|
||||
lang: lang ?? 'ja-JP',
|
||||
})}`) : await summaly(url, {
|
||||
})}`) : await summaly.default(url, {
|
||||
followRedirects: false,
|
||||
lang: lang ?? 'ja-JP',
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user