mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 00:40:51 +01:00
Update config pattern
This commit is contained in:
parent
4b42bdf246
commit
9bb98c1739
@ -18,7 +18,7 @@ public class NitroHttpProxyFilter extends HttpFiltersAdapter {
|
|||||||
|
|
||||||
private static final String NitroConfigSearch = "socket.url";
|
private static final String NitroConfigSearch = "socket.url";
|
||||||
private static final String NitroClientSearch = "configurationUrls:";
|
private static final String NitroClientSearch = "configurationUrls:";
|
||||||
private static final Pattern NitroConfigPattern = Pattern.compile("[\"']socket\\.url[\"']:.?[\"'](wss?://.*?)[\"']", Pattern.MULTILINE);
|
private static final Pattern NitroConfigPattern = Pattern.compile("[\"']socket\\.url[\"']:.+[\"'](wss?://.*?)[\"']", Pattern.MULTILINE);
|
||||||
|
|
||||||
// https://developers.cloudflare.com/fundamentals/get-started/reference/cloudflare-cookies/
|
// https://developers.cloudflare.com/fundamentals/get-started/reference/cloudflare-cookies/
|
||||||
private static final HashSet<String> CloudflareCookies = new HashSet<>(Arrays.asList(
|
private static final HashSet<String> CloudflareCookies = new HashSet<>(Arrays.asList(
|
||||||
|
Loading…
Reference in New Issue
Block a user