add the new url :3

This commit is contained in:
Ashley 2023-11-17 06:05:28 +00:00
parent e76684312d
commit 8da95eb911

View file

@ -47,7 +47,7 @@ module.exports = function (app, config, renderTemplate) {
});
app.get("/vi/:v/:t", async function (req, res) {
var url = `https://yt.sudovanilla.com/vi/${req.params.v}/${req.params.t}`
var url = `https://vid.theedgeofrage.com/vi/${req.params.v}/${req.params.t}`
let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, {
method: req.method,
@ -58,7 +58,7 @@ module.exports = function (app, config, renderTemplate) {
});
app.get("/avatars/:v", async function (req, res) {
var url = `https://yt.sudovanilla.com/ggpht/${req.params.v}`;
var url = `https://vid.theedgeofrage.com/ggpht/${req.params.v}`;
let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, {
method: req.method,
@ -68,7 +68,7 @@ app.get("/avatars/:v", async function (req, res) {
});
app.get("/avatars/ytc/:v", async function (req, res) {
var url = `https://yt.sudovanilla.com/ggpht/ytc/${req.params.v.replace("ytc", "")}`;
var url = `https://vid.theedgeofrage.com/ggpht/ytc/${req.params.v.replace("ytc", "")}`;
let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, {
method: req.method,