[tutorial v1.1_052] Jinja with a parameter
This commit is contained in:
parent
3d07945273
commit
87aa3b049a
1 changed files with 4 additions and 1 deletions
|
|
@ -10,9 +10,12 @@ manual:
|
|||
description: '{{ identifier }} Proxy'
|
||||
hidden:
|
||||
jinja: |-
|
||||
{% if _.use_for_https %}
|
||||
{% if my_identifier == 'HTTPS' and _.use_for_https %}
|
||||
HTTPS is same has HTTP
|
||||
{% endif %}
|
||||
params:
|
||||
my_identifier:
|
||||
type: identifier
|
||||
dynamic:
|
||||
- HTTPS
|
||||
- SOCKS
|
||||
|
|
|
|||
Loading…
Reference in a new issue