update oembed

This commit is contained in:
anarch3 2022-11-18 23:26:14 -05:00
parent 03cd2e4d55
commit e58f441788
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ function convert(req, res, next) {
provider_name: "embedder",
provider_url: "https://github.com/WaveringAna/embedder",
cache_age: 86400,
html: "<iframe src='" + req.protocol + "://" + req.get('host') + "/gifv/" + req.files[file].filename + "'></iframe>",
html: "<iframe src='" + req.protocol + "://" + req.get('host') + "/gifv/" + nameAndExtension[0] + "'></iframe>",
width: 640,
height: 360
};