diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js
index 32d903ce..e6143254 100644
--- a/web/assets/js/model/xray.js
+++ b/web/assets/js/model/xray.js
@@ -2054,13 +2054,12 @@ Inbound.ShadowsocksSettings.Shadowsocks = class extends XrayCommonClass {
};
Inbound.DokodemoSettings = class extends Inbound.Settings {
- constructor(protocol, address, port, network='tcp,udp', followRedirect=false, timeout=0) {
+ constructor(protocol, address, port, network='tcp,udp', followRedirect=false) {
super(protocol);
this.address = address;
this.port = port;
this.network = network;
this.followRedirect = followRedirect;
- this.timeout = timeout;
}
static fromJson(json={}) {
@@ -2069,8 +2068,7 @@ Inbound.DokodemoSettings = class extends Inbound.Settings {
json.address,
json.port,
json.network,
- json.followRedirect,
- json.timeout,
+ json.followRedirect
);
}
@@ -2079,8 +2077,7 @@ Inbound.DokodemoSettings = class extends Inbound.Settings {
address: this.address,
port: this.port,
network: this.network,
- followRedirect: this.followRedirect,
- timeout: this.timeout,
+ followRedirect: this.followRedirect
};
}
};
diff --git a/web/html/xui/form/protocol/dokodemo.html b/web/html/xui/form/protocol/dokodemo.html
index f3275338..f8cc4049 100644
--- a/web/html/xui/form/protocol/dokodemo.html
+++ b/web/html/xui/form/protocol/dokodemo.html
@@ -16,8 +16,5 @@
-
-
-
{{end}}