Add filesrver_ip_type to config page
This commit is contained in:
parent
ce6668ef8c
commit
15f4bc5bd6
2 changed files with 25 additions and 0 deletions
|
@ -44,6 +44,16 @@ class ConfigStorage extends Class
|
||||||
# Network
|
# Network
|
||||||
section = @createSection("Network")
|
section = @createSection("Network")
|
||||||
|
|
||||||
|
section.items.push
|
||||||
|
key: "fileserver_ip_type"
|
||||||
|
title: "File server network"
|
||||||
|
type: "select"
|
||||||
|
options: [
|
||||||
|
{title: "IPv4", value: "ipv4"}
|
||||||
|
{title: "IPv6", value: "ipv6"}
|
||||||
|
]
|
||||||
|
description: "Accept incoming peers using IPv4 or IPv6 address. (default: IPv4)"
|
||||||
|
|
||||||
section.items.push
|
section.items.push
|
||||||
key: "fileserver_port"
|
key: "fileserver_port"
|
||||||
title: "File server port"
|
title: "File server port"
|
||||||
|
|
|
@ -1354,6 +1354,21 @@
|
||||||
type: "checkbox"
|
type: "checkbox"
|
||||||
});
|
});
|
||||||
section = this.createSection("Network");
|
section = this.createSection("Network");
|
||||||
|
section.items.push({
|
||||||
|
key: "fileserver_ip_type",
|
||||||
|
title: "File server network",
|
||||||
|
type: "select",
|
||||||
|
options: [
|
||||||
|
{
|
||||||
|
title: "IPv4",
|
||||||
|
value: "ipv4"
|
||||||
|
}, {
|
||||||
|
title: "IPv6",
|
||||||
|
value: "ipv6"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
description: "Accept other peers using IPv4 or IPv6 address. (default: IPv4)"
|
||||||
|
});
|
||||||
section.items.push({
|
section.items.push({
|
||||||
key: "fileserver_port",
|
key: "fileserver_port",
|
||||||
title: "File server port",
|
title: "File server port",
|
||||||
|
|
Loading…
Reference in a new issue