Skip to content

Commit

Permalink
fix: sing routing
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Jul 14, 2024
1 parent b529016 commit b0b0ce5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hiddify-panel/src
Submodule src updated from 186941 to 9bc67a
8 changes: 4 additions & 4 deletions singbox/configs/03_routing.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@

]
},
{% if hconfigs['warp_mode'] != 'disable' and hconfigs.get('warp_sites','').split('\n') %}
{
"outbound": {% if hconfigs['warp_mode'] == 'disable' %}"freedom"{% else %}"WARP"{% endif %},
"domain":[
{% if hconfigs['warp_mode'] != 'disable' %}
"outbound": "WARP",
"domain":[
{%for d in hconfigs.get('warp_sites','').split('\n')%}
"{{d.strip()}}",
{% endfor %}
{% endif %}
]
},
{% endif %}
{
"outbound": "blackhole", "geoip": ["private"]
}
Expand Down

0 comments on commit b0b0ce5

Please sign in to comment.