mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 06:28:35 +01:00
Update server.js
This commit is contained in:
parent
8af0f975c4
commit
05a83b2877
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ app.get("/api/search", function(req, res) {
|
||||||
var search = require("youtube-search");
|
var search = require("youtube-search");
|
||||||
|
|
||||||
if (!req.query.query) {
|
if (!req.query.query) {
|
||||||
return res.redirect(`/youtube`);
|
return res.redirect(`/`);
|
||||||
}
|
}
|
||||||
|
|
||||||
var opts = {
|
var opts = {
|
||||||
|
|
Loading…
Reference in a new issue