1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 03:14:40 -05:00

powder that makes you say real

This commit is contained in:
Ashley 2023-12-16 21:00:55 +00:00
parent 255a1e42e1
commit d06b9ee1cb

View file

@ -52,7 +52,7 @@ module.exports = function (app, config, renderTemplate) {
});
app.get("/vi/:v/:t", async function (req, res) {
var url = `https://invidious.snopyta.org/vi/${req.params.v}/${req.params.t}`
var url = `https://vid.puffyan.us/vi/${req.params.v}/${req.params.t}`
let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, {
method: req.method,
@ -63,7 +63,7 @@ module.exports = function (app, config, renderTemplate) {
});
app.get("/avatars/:v", async function (req, res) {
var url = `https://invidious.snopyta.org/ggpht/${req.params.v}`;
var url = `https://vid.puffyan.us/ggpht/${req.params.v}`;
let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, {
method: req.method,
@ -73,7 +73,7 @@ app.get("/avatars/:v", async function (req, res) {
});
app.get("/ggpht/:v", async function (req, res) {
var url = `https://invidious.snopyta.org/ggpht/${req.params.v}`;
var url = `https://vid.puffyan.us/ggpht/${req.params.v}`;
let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, {
method: req.method,
@ -84,7 +84,7 @@ app.get("/avatars/:v", async function (req, res) {
app.get("/avatars/ytc/:v", async function (req, res) {
var url = `https://invidious.snopyta.org/ggpht/ytc/${req.params.v.replace("ytc", "")}`;
var url = `https://vid.puffyan.us/ggpht/ytc/${req.params.v.replace("ytc", "")}`;
let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, {
method: req.method,