This commit is contained in:
ashley 2024-10-24 14:10:14 +00:00
parent b601d2354e
commit 38a7d7c3af

View file

@ -155,7 +155,7 @@ module.exports = function (app, config, renderTemplate) {
let searchUrl;
if (req.query.from === 'hashtag') {
searchUrl = `${config.invapi}/hashtag/${query}&hl=en-gb`;
searchUrl = `${config.invapi}/hashtag/${query}?hl=en-gb`;
} else {
searchUrl = `${config.invapi}/search?q=${encodeURIComponent(query)}&page=${encodeURIComponent(continuation)}&date=${date}&type=${type}&duration=${duration}&sort=${sort}&hl=en+gb`;
}