From 05a83b28770a92ab7179e4dfc22f406df0572981 Mon Sep 17 00:00:00 2001 From: Ashley <65588168+ashpotter@users.noreply.github.com> Date: Wed, 7 Jul 2021 18:05:44 +0300 Subject: [PATCH] Update server.js --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 75a02257..4bb4c318 100644 --- a/server.js +++ b/server.js @@ -49,7 +49,7 @@ app.get("/api/search", function(req, res) { var search = require("youtube-search"); if (!req.query.query) { - return res.redirect(`/youtube`); + return res.redirect(`/`); } var opts = {