test something

This commit is contained in:
ashley 2025-10-09 09:31:03 +02:00
parent dad3607ddc
commit a06d43ba56

View File

@ -218,6 +218,15 @@ module.exports = function (app, config, renderTemplate) {
const verify = req.hostname === "poketube.sudovanilla.com";
if (req.hostname !== "poketube.fun") {
if (config.invapi ==="https://invid-api.poketube.fun/bHj665PpYhUdPWuKPfZuQGoX/api/v1") {
return res.status(500).send( "Error: please edit your config.json to match your own instance, and please use your own API URL. see docs.invidious.io to how to setup invidious!");
}
}
INNERTUBE.getYouTubePlayerInfo(f, v, contentlang, contentregion).then(
(data) => {
try {