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) => {
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");