mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 17:37:51 +01:00
add the new url :3
This commit is contained in:
parent
e76684312d
commit
8da95eb911
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue