1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-24 23:26:17 +09:00
This commit is contained in:
syuilo 2022-03-01 01:33:25 +09:00
parent 51517cf96c
commit 4cd75e45b9

View File

@ -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',
});