Update src/libpoketube/init/pages-channel-and-download.js

This commit is contained in:
ashley 2024-07-14 11:07:59 +00:00
parent 5e4097b88c
commit f2fd62dce0

View file

@ -259,7 +259,7 @@ module.exports = function (app, config, renderTemplate) {
)}/${ID}/?hl=en-US`; )}/${ID}/?hl=en-US`;
const channelINVUrl = `${apiUrl}${ID}/`; const channelINVUrl = `${apiUrl}${ID}/`;
const checkPronoun = async (id) => (await (await fetch('https://codeberg.org/ashley/poke-pronouns-db/raw/branch/main/pronouns.json')).json())[id] || `no pronouns set`; const checkPronoun = async (id) => (await (await fetch('https://raw.githubusercontent.com/ashley0143/poke/main/pronounsdb.json')).json())[id] || `no pronouns set`;
const pronoun = await checkPronoun(ID); const pronoun = await checkPronoun(ID);
var [tj, shorts, playlist, stream, c, cinv] = await Promise.all([ var [tj, shorts, playlist, stream, c, cinv] = await Promise.all([