v3.5.6 bug fix update

This commit is contained in:
DJj123dj
2024-05-31 16:36:08 +02:00
parent 38afb9c2a6
commit ee9f8eaca1
36 changed files with 49 additions and 48 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ const checkAvailability = async () => {
if (process.argv.some((v) => v == "--tsoffline")) return true
const axios = require("axios").default
try{
const res = await axios.get("https://transcripts.dj-dj.be/api/status.json")
const res = await axios.get("https://apis.dj-dj.be/transcripts/status.json")
if (!res || !(res.status == 200) || !res.data) return false
if (res.data && res.data["v2"] == "online") return true