my bad lmao

This commit is contained in:
Ashley //// 2024-03-27 16:12:48 +00:00
parent 86f8bc8fb2
commit 30366deff1

View file

@ -136,7 +136,7 @@ module.exports = function (app, config, renderTemplate) {
const headers = {}; const headers = {};
const xmlData = await fetch( const xmlData = await fetch(
`https://${config_invapi}/search?q=${encodeURIComponent( `https://${config.invapi}/search?q=${encodeURIComponent(
query query
)}&page=${encodeURIComponent( )}&page=${encodeURIComponent(
continuation continuation
@ -288,7 +288,7 @@ module.exports = function (app, config, renderTemplate) {
} }
}; };
const apiUrl = config_invapi + "/channels/"; const apiUrl = config.invapi + "/channels/";
const channelUrl = `${apiUrl}${atob( const channelUrl = `${apiUrl}${atob(
ChannelTabs.videos ChannelTabs.videos
)}/${ID}/?sort_by=${sort_by}${continuation}`; )}/${ID}/?sort_by=${sort_by}${continuation}`;