mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 03:39:00 +01:00
fix goober bug
This commit is contained in:
parent
72fe45cb9e
commit
c930e55c46
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
});
|
||||
|
||||
app.get("/search", async (req, res) => {
|
||||
const query = req.query.query.replace("ohio", "things to do in ohio");
|
||||
const query = req.query.query ? req.query.query.replace("ohio", "things to do in ohio") : '';
|
||||
const tab = req.query.tab;
|
||||
const { fetch } = await import("undici");
|
||||
|
||||
|
|
Loading…
Reference in a new issue