[tutorial v1.1_082] Redefine default value in custom type variable
This commit is contained in:
parent
c1c12d283f
commit
d0ab51e7c8
2 changed files with 10 additions and 1 deletions
|
|
@ -11,4 +11,10 @@ manual:
|
||||||
http_proxy:
|
http_proxy:
|
||||||
description: HTTP Proxy
|
description: HTTP Proxy
|
||||||
type: proxy
|
type: proxy
|
||||||
|
|
||||||
|
address:
|
||||||
|
default: null
|
||||||
|
|
||||||
|
port:
|
||||||
|
default: 8080
|
||||||
...
|
...
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,12 @@ proxy:
|
||||||
type: domainname
|
type: domainname
|
||||||
params:
|
params:
|
||||||
allow_ip: true
|
allow_ip: true
|
||||||
|
default:
|
||||||
|
variable: __.http_proxy.address
|
||||||
|
|
||||||
port:
|
port:
|
||||||
description: Proxy port
|
description: Proxy port
|
||||||
type: port
|
type: port
|
||||||
default: 8080
|
default:
|
||||||
|
variable: __.http_proxy.port
|
||||||
...
|
...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue