mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 04:17:47 +01:00
mv
This commit is contained in:
parent
867bb45e42
commit
1b2e86f5f8
1 changed files with 1 additions and 10 deletions
|
@ -231,15 +231,6 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
: "";
|
: "";
|
||||||
const sort_by = req.query.sort_by || "newest";
|
const sort_by = req.query.sort_by || "newest";
|
||||||
|
|
||||||
const getChannelData = async (url) => {
|
|
||||||
try {
|
|
||||||
return await fetch(url)
|
|
||||||
.then((res) => res.text())
|
|
||||||
.then((txt) => getJson(txt));
|
|
||||||
} catch (error) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
const getChannelData = async (url) => {
|
const getChannelData = async (url) => {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue