From 0b84430c49bd2d52202cf0f789a7fb20b732f1f2 Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Sat, 11 Nov 2023 18:19:43 +0800 Subject: [PATCH] Update Routing.py Signed-off-by: Loren Eteval --- Furious/Action/Routing.py | 42 +++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/Furious/Action/Routing.py b/Furious/Action/Routing.py index fd595f7d..fbf8d387 100644 --- a/Furious/Action/Routing.py +++ b/Furious/Action/Routing.py @@ -69,41 +69,41 @@ BUILTIN_ROUTING_TABLE = { }, 'Bypass Iran': { XrayCore.name(): { - "domainStrategy": "IPIfNonMatch", - "domainMatcher": "hybrid", - "rules": [ + 'domainStrategy': 'IPIfNonMatch', + 'domainMatcher': 'hybrid', + 'rules': [ # ads { - "type": "field", - "domain": [ - "geosite:category-ads-all", - "iran:ads", + 'type': 'field', + 'domain': [ + 'geosite:category-ads-all', + 'iran:ads', ], - "outboundTag": "block", + 'outboundTag': 'block', }, # Iran sites { - "type": "field", - "domain": [ - "iran:ir", - "iran:other", + 'type': 'field', + 'domain': [ + 'iran:ir', + 'iran:other', ], - "outboundTag": "direct", + 'outboundTag': 'direct', }, # Iran IP { - "type": "field", - "ip": [ - "geoip:private", - "geoip:ir", + 'type': 'field', + 'ip': [ + 'geoip:private', + 'geoip:ir', ], - "outboundTag": "direct", + 'outboundTag': 'direct', }, # Proxy everything { - "type": "field", - "port": "0-65535", - "outboundTag": "proxy", + 'type': 'field', + 'port': '0-65535', + 'outboundTag': 'proxy', }, ], },