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

✌️

parent 345084a7
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,9 @@ import summaly from 'summaly';
module.exports = async (ctx: Koa.Context) => {
try {
const summary = await summaly(ctx.query.url);
const summary = await summaly(ctx.query.url, {
followRedirects: false
});
summary.icon = wrap(summary.icon);
summary.thumbnail = wrap(summary.thumbnail);
......
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