Skip to content
Snippets Groups Projects
Commit 4cd75e45 authored by syuilo's avatar syuilo
Browse files

fix esm

parent 51517cf9
No related branches found
No related tags found
No related merge requests found
......@@ -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',
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment