mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Merge branch 'development' into production
This commit is contained in:
commit
a9b658515a
|
@ -505,7 +505,7 @@ PROXY foobar.com:8080; # Not HTTP!`.trim()}
|
|||
|
||||
return proxyStringRaw
|
||||
.replace(/#.*$/mg, '') // Strip comments.
|
||||
.replace(/\s*DIRECT\s*/g, '') // Remove DIRECT from old versions.
|
||||
.replace(/[^\S\r\n]*DIRECT[^\S\r\n]*/g, '') // Remove DIRECT from old versions.
|
||||
.split( /(?:[^\S\r\n]*(?:;|\r?\n)+[^\S\r\n]*)+/g )
|
||||
.map( (p) => p.trim() )
|
||||
.filter((p) => p)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const commonContext = {
|
||||
version: '1.1',
|
||||
version: '1.3',
|
||||
};
|
||||
|
||||
exports.contexts = {};
|
||||
|
|
Loading…
Reference in New Issue
Block a user