Skip to content

Commit

Permalink
longer timeout for video title and description get
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Cesar C. - Matsukii committed Nov 16, 2019
1 parent d8a9372 commit 2188cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ module.exports = (app, dir) => {
else{
vidMeta(params).then(r => {
try {
ogs({'url': params.url, timeout: 1000}, (e, re) => {
ogs({'url': params.url, timeout: 2000}, (e, re) => {
if(re.data != undefined && !e){
return res.status(200).send({
...r,
Expand Down

0 comments on commit 2188cfe

Please sign in to comment.