Update server.js

This commit is contained in:
Ashley 2021-07-07 18:05:44 +03:00 committed by GitHub
parent 6664349015
commit a28babf8ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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