Add LBRY because that's also the frontend's goal.

This commit is contained in:
Midou36O 2023-01-06 23:55:43 +01:00
parent bcbc714f1e
commit 24fcc0f54e
Signed by untrusted user: midou
GPG Key ID: 08063D5407090BC2

View File

@ -3,7 +3,7 @@ import axios from "axios";
const fetchStatus = (domain: string) => {
const req = axios("https://" + domain, { timeout: 5000 })
.then((res) => res.status)
.catch((error) => error.response ? error.response.status : 500);
.catch((error) => (error.response ? error.response.status : 500));
return req;
};
@ -27,7 +27,7 @@ const statusData = [
},
{
name: "Librarian",
description: "A frontend for Odysee.",
description: "A frontend for LBRY/Odysee.",
eu: "https://lbry.projectsegfau.lt/",
geo: "https://lbry.g.projectsegfau.lt/",
tor: "http://lbry.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion",
@ -203,4 +203,4 @@ const statusData = [
}
];
export default statusData;
export default statusData;