Skip to content
Snippets Groups Projects
Commit 4dfe2c15 authored by tamaina's avatar tamaina
Browse files

fix(backend): Fix #10786

parent d526cd70
No related branches found
No related tags found
No related merge requests found
......@@ -70,10 +70,10 @@ export class UrlPreviewService {
await summaly(url, {
followRedirects: false,
lang: lang ?? 'ja-JP',
agent: {
agent: this.config.proxy ? {
http: this.httpRequestService.httpAgent,
https: this.httpRequestService.httpsAgent,
},
} : undefined,
});
this.logger.succ(`Got preview of ${url}: ${summary.title}`);
......
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