change api owo

This commit is contained in:
Ashley 2023-03-21 19:30:04 +00:00
parent aaa0b92e96
commit 9193d38924

View file

@ -73,7 +73,7 @@ module.exports = function (app, config, renderTemplate) {
let continuation = req.query.continuation || ""; let continuation = req.query.continuation || "";
try { try {
const searchUrl = `https://tube-srv.ashley143.gay/api/search?query=${encodeURIComponent( const searchUrl = `https://inner-api.poketube.fun/api/search?query=${encodeURIComponent(
query query
)}&continuation=${encodeURIComponent(continuation)}`; )}&continuation=${encodeURIComponent(continuation)}`;
const searchResponse = await modules.fetch(searchUrl); const searchResponse = await modules.fetch(searchUrl);