added config for the tunnel server to the schema
This commit is contained in:
parent
9ec642237c
commit
7423d6065f
|
@ -174,6 +174,14 @@ var mdnsSchema = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var tunnelSvrSchema = {
|
||||||
|
type: 'object'
|
||||||
|
, properties: {
|
||||||
|
servernames: { type: 'array', items: { type: 'string' }}
|
||||||
|
, secret: { type: 'string' }
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
var ddnsSchema = {
|
var ddnsSchema = {
|
||||||
type: 'object'
|
type: 'object'
|
||||||
, properties: {
|
, properties: {
|
||||||
|
@ -223,6 +231,7 @@ var mainSchema = {
|
||||||
, ddns: ddnsSchema
|
, ddns: ddnsSchema
|
||||||
, socks5: socks5Schema
|
, socks5: socks5Schema
|
||||||
, device: deviceSchema
|
, device: deviceSchema
|
||||||
|
, tunnel_server: tunnelSvrSchema
|
||||||
}
|
}
|
||||||
, additionalProperties: false
|
, additionalProperties: false
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue