mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 16:37:52 +01:00
a
This commit is contained in:
parent
b601d2354e
commit
38a7d7c3af
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
|
|
||||||
let searchUrl;
|
let searchUrl;
|
||||||
if (req.query.from === 'hashtag') {
|
if (req.query.from === 'hashtag') {
|
||||||
searchUrl = `${config.invapi}/hashtag/${query}&hl=en-gb`;
|
searchUrl = `${config.invapi}/hashtag/${query}?hl=en-gb`;
|
||||||
} else {
|
} else {
|
||||||
searchUrl = `${config.invapi}/search?q=${encodeURIComponent(query)}&page=${encodeURIComponent(continuation)}&date=${date}&type=${type}&duration=${duration}&sort=${sort}&hl=en+gb`;
|
searchUrl = `${config.invapi}/search?q=${encodeURIComponent(query)}&page=${encodeURIComponent(continuation)}&date=${date}&type=${type}&duration=${duration}&sort=${sort}&hl=en+gb`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue