From 4dfcda1642e6e6d12a11b4bc652cbb4a170c3485 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Sun, 7 Mar 2021 12:48:56 +1300 Subject: [PATCH] Revert ""fix" 503 errors" This reverts commit 009ce76fc1bfd9e4f2636fc19de2547174bd0452. --- html/src/app.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index b786ada4..cd3f4915 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -399,9 +399,6 @@ speechSynthesis.getVoices(); } throw new Error('401: Missing Credentials'); } - if ((status === 503) && (data.error.message === 'endpoint temporarily disabled')) { - throw new Error('503: Endpoint temporarily disabled'); - } if (data.error === Object(data.error)) { this.$throw( data.error.status_code || status,