1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-16 23:34:40 -05:00

Update server.js

This commit is contained in:
Ashley 2021-07-07 18:05:44 +03:00 committed by GitHub
parent 8af0f975c4
commit 05a83b2877

View file

@ -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 = {