From 24fcc0f54e9343ac20189637fb6191aa3cb26bbd Mon Sep 17 00:00:00 2001 From: Midou36O Date: Fri, 6 Jan 2023 23:55:43 +0100 Subject: [PATCH] Add LBRY because that's also the frontend's goal. --- src/lib/statusData.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/statusData.ts b/src/lib/statusData.ts index 69203a5..0b8797e 100644 --- a/src/lib/statusData.ts +++ b/src/lib/statusData.ts @@ -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; \ No newline at end of file +export default statusData;