forked from ProjectSegfault/website
Add LBRY because that's also the frontend's goal.
This commit is contained in:
parent
bcbc714f1e
commit
24fcc0f54e
@ -3,7 +3,7 @@ import axios from "axios";
|
|||||||
const fetchStatus = (domain: string) => {
|
const fetchStatus = (domain: string) => {
|
||||||
const req = axios("https://" + domain, { timeout: 5000 })
|
const req = axios("https://" + domain, { timeout: 5000 })
|
||||||
.then((res) => res.status)
|
.then((res) => res.status)
|
||||||
.catch((error) => error.response ? error.response.status : 500);
|
.catch((error) => (error.response ? error.response.status : 500));
|
||||||
|
|
||||||
return req;
|
return req;
|
||||||
};
|
};
|
||||||
@ -27,7 +27,7 @@ const statusData = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Librarian",
|
name: "Librarian",
|
||||||
description: "A frontend for Odysee.",
|
description: "A frontend for LBRY/Odysee.",
|
||||||
eu: "https://lbry.projectsegfau.lt/",
|
eu: "https://lbry.projectsegfau.lt/",
|
||||||
geo: "https://lbry.g.projectsegfau.lt/",
|
geo: "https://lbry.g.projectsegfau.lt/",
|
||||||
tor: "http://lbry.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion",
|
tor: "http://lbry.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion",
|
||||||
@ -203,4 +203,4 @@ const statusData = [
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
export default statusData;
|
export default statusData;
|
||||||
|
Loading…
Reference in New Issue
Block a user