mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 17:17:49 +01:00
use github user content for instance fetch (related: #87)
This commit is contained in:
parent
5ef6b6bfcd
commit
ae741e1c30
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue