use github user content for instance fetch (related: #87)

This commit is contained in:
ashley 2024-06-01 22:24:55 +00:00
parent 5ef6b6bfcd
commit ae741e1c30

View file

@ -273,7 +273,7 @@ exec('git rev-list HEAD -n 1 --abbrev-commit', (error, stdout, stderr) => {
const { fetch } = await import("undici"); const { fetch } = await import("undici");
try { try {
const url = `https://codeberg.org/Ashley/poketube/raw/branch/main/instances.json`; const url = `https://raw.githubusercontent.com/ashley0143/poke/main/instances.json`;
let f = await fetch(url) let f = await fetch(url)
.then((res) => res.text()) .then((res) => res.text())