diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js index 73a022c..54d914d 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/App.js @@ -79,13 +79,14 @@ export default function getApp(theState) { headers: new Headers(headers), }; - const ghUrl = `https://api.github.com/repos/anticensorship-russia/for-testing-github-api/issues/1/comments${query}`; + //const ghUrl = `https://api.github.com/repos/anticensorship-russia/for-testing-github-api/issues/1/comments${query}`; + const ghUrl = `http://httpstat.us/418`; const [comments, etag] = await fetch( ghUrl, params ).then( (res) => !( res.status >= 200 && res.status < 300 || res.status === 304 ) - ? Promise.reject(new Error(`Полечен ответ с неудачным кодом ${res.status}.`)) + ? Promise.reject(new Error(`Получен ответ с неудачным кодом ${res.status}.`)) : res ).then( (res) => Promise.all([