mirror of
https://github.com/alireza0/x-ui.git
synced 2026-10-11 16:42:23 +00:00
remove timeout
This commit is contained in:
parent
b27199d307
commit
9b00297a4b
2 changed files with 3 additions and 9 deletions
|
|
@ -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
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,8 +16,5 @@
|
|||
<a-form-item label='Follow Redirect'>
|
||||
<a-switch v-model="inbound.settings.followRedirect"></a-switch>
|
||||
</a-form-item>
|
||||
<a-form-item label='Timeout'>
|
||||
<a-input-number v-model.number="inbound.settings.timeout" :min="0"></a-input-number>
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
{{end}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue