Change useragent for news on GitHub

This commit is contained in:
Ilya Ig. Petrov 2018-04-06 11:23:23 +05:00
parent 4d22581359
commit b866245ed0

View File

@ -68,7 +68,7 @@ export default function getApp(theState) {
const query = comDate ? `?since=${comDate}` : ''; const query = comDate ? `?since=${comDate}` : '';
const oldEtag = localStorage[uiComEtag]; const oldEtag = localStorage[uiComEtag];
const headers = { const headers = {
'User-Agent': 'anticensorship-russia', 'User-Agent': 'https://github.com/anticensority/runet-censorship-bypass',
}; };
if (oldEtag) { if (oldEtag) {
Object.assign(headers, { Object.assign(headers, {