mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-08-23 03:16:52 +00:00
remove ocspStapling
This commit is contained in:
parent
ae08a29cde
commit
9fc03bd10a
2 changed files with 0 additions and 9 deletions
|
@ -641,7 +641,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass {
|
||||||
keyFile = '',
|
keyFile = '',
|
||||||
certificate = '',
|
certificate = '',
|
||||||
key = '',
|
key = '',
|
||||||
ocspStapling = 0,
|
|
||||||
oneTimeLoading = false,
|
oneTimeLoading = false,
|
||||||
usage = USAGE_OPTION.ENCIPHERMENT,
|
usage = USAGE_OPTION.ENCIPHERMENT,
|
||||||
buildChain = false,
|
buildChain = false,
|
||||||
|
@ -652,7 +651,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass {
|
||||||
this.keyFile = keyFile;
|
this.keyFile = keyFile;
|
||||||
this.cert = Array.isArray(certificate) ? certificate.join('\n') : certificate;
|
this.cert = Array.isArray(certificate) ? certificate.join('\n') : certificate;
|
||||||
this.key = Array.isArray(key) ? key.join('\n') : key;
|
this.key = Array.isArray(key) ? key.join('\n') : key;
|
||||||
this.ocspStapling = ocspStapling;
|
|
||||||
this.oneTimeLoading = oneTimeLoading;
|
this.oneTimeLoading = oneTimeLoading;
|
||||||
this.usage = usage;
|
this.usage = usage;
|
||||||
this.buildChain = buildChain
|
this.buildChain = buildChain
|
||||||
|
@ -664,7 +662,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass {
|
||||||
true,
|
true,
|
||||||
json.certificateFile,
|
json.certificateFile,
|
||||||
json.keyFile, '', '',
|
json.keyFile, '', '',
|
||||||
json.ocspStapling,
|
|
||||||
json.oneTimeLoading,
|
json.oneTimeLoading,
|
||||||
json.usage,
|
json.usage,
|
||||||
json.buildChain,
|
json.buildChain,
|
||||||
|
@ -674,7 +671,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass {
|
||||||
false, '', '',
|
false, '', '',
|
||||||
json.certificate.join('\n'),
|
json.certificate.join('\n'),
|
||||||
json.key.join('\n'),
|
json.key.join('\n'),
|
||||||
json.ocspStapling,
|
|
||||||
json.oneTimeLoading,
|
json.oneTimeLoading,
|
||||||
json.usage,
|
json.usage,
|
||||||
json.buildChain,
|
json.buildChain,
|
||||||
|
@ -687,7 +683,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass {
|
||||||
return {
|
return {
|
||||||
certificateFile: this.certFile,
|
certificateFile: this.certFile,
|
||||||
keyFile: this.keyFile,
|
keyFile: this.keyFile,
|
||||||
ocspStapling: this.ocspStapling,
|
|
||||||
oneTimeLoading: this.oneTimeLoading,
|
oneTimeLoading: this.oneTimeLoading,
|
||||||
usage: this.usage,
|
usage: this.usage,
|
||||||
buildChain: this.buildChain,
|
buildChain: this.buildChain,
|
||||||
|
@ -696,7 +691,6 @@ TlsStreamSettings.Cert = class extends XrayCommonClass {
|
||||||
return {
|
return {
|
||||||
certificate: this.cert.split('\n'),
|
certificate: this.cert.split('\n'),
|
||||||
key: this.key.split('\n'),
|
key: this.key.split('\n'),
|
||||||
ocspStapling: this.ocspStapling,
|
|
||||||
oneTimeLoading: this.oneTimeLoading,
|
oneTimeLoading: this.oneTimeLoading,
|
||||||
usage: this.usage,
|
usage: this.usage,
|
||||||
buildChain: this.buildChain,
|
buildChain: this.buildChain,
|
||||||
|
|
|
@ -91,9 +91,6 @@
|
||||||
<a-textarea v-model="cert.key"></a-textarea>
|
<a-textarea v-model="cert.key"></a-textarea>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</template>
|
</template>
|
||||||
<a-form-item label='OCSP stapling'>
|
|
||||||
<a-input-number v-model.number="cert.ocspStapling" :min="0"></a-input-number>
|
|
||||||
</a-form-item>
|
|
||||||
<a-form-item label="One Time Loading">
|
<a-form-item label="One Time Loading">
|
||||||
<a-switch v-model="cert.oneTimeLoading"></a-switch>
|
<a-switch v-model="cert.oneTimeLoading"></a-switch>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
|
Loading…
Reference in a new issue