Change ip_external on Config page

This commit is contained in:
shortcutme 2019-01-25 01:22:26 +01:00
parent 055aea58bb
commit 3b91be8449
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
4 changed files with 21 additions and 5 deletions

View file

@ -1379,6 +1379,13 @@
valid_pattern: /[0-9]*/,
description: "Other peers will use this port to reach your served sites. (default: 15441)"
});
section.items.push({
key: "ip_external",
title: "File server external ip",
type: "textarea",
placeholder: "Detect automatically",
description: "Your file server is accessible on these ips. (default: detect automatically)"
});
section.items.push({
title: "Tor",
key: "tor",
@ -1650,7 +1657,8 @@
oninput: this.handleInputChange,
afterCreate: this.autosizeTextarea,
updateAnimation: this.autosizeTextarea,
value: value
value: value,
placeholder: item.placeholder
});
};
@ -1927,4 +1935,4 @@
window.Page.createProjector();
}).call(this);
}).call(this);