diff --git a/config.html b/config.html index ba0aae8..3a33821 100644 --- a/config.html +++ b/config.html @@ -4,55 +4,55 @@









@@ -96,7 +96,11 @@ const config=await fetch('https://ts.sugoidogo.com/config.json',{headers:tokens.auth_headers}) .then(async response=>{ if(response.ok){ - return response.json() + try { + return await response.json() + } catch { + return {} + } } console.warn(response.code,await response.text()) return {}