mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-14 04:49:00 +01:00
oops
This commit is contained in:
parent
1cde1c23ef
commit
3872e7cb64
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
|
||||
let searchUrl;
|
||||
if (req.query.from === 'hashtag') {
|
||||
searchUrl = `/hashtag/${encodeURIComponent(query)}`;
|
||||
searchUrl = `${config.invapi}/hashtag/${query}`;
|
||||
} else {
|
||||
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