mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-27 20:03:45 +03:00
Change useragent for news on GitHub
This commit is contained in:
parent
4d22581359
commit
b866245ed0
|
@ -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, {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user