1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 03:14:40 -05:00

fix goober bug

This commit is contained in:
ashley 2024-10-04 19:39:11 +00:00
parent 72fe45cb9e
commit c930e55c46

View file

@ -88,7 +88,7 @@ module.exports = function (app, config, renderTemplate) {
}); });
app.get("/search", async (req, res) => { 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 tab = req.query.tab;
const { fetch } = await import("undici"); const { fetch } = await import("undici");