Skip to content

Commit

Permalink
bug fix - xtls
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSanaei committed Dec 12, 2023
1 parent e300fbc commit 4b89476
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions web/html/xui/form/tls_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,8 @@
<td>
<a-form-item>
<a-radio-group v-model="cert.useFile" button-style="solid">
<a-radio-button :value="true">{{ i18n "pages.inbounds.certificatePath"
}}</a-radio-button>
<a-radio-button :value="false">{{ i18n "pages.inbounds.certificateContent"
}}</a-radio-button>
<a-radio-button :value="true">{{ i18n "pages.inbounds.certificatePath"}}</a-radio-button>
<a-radio-button :value="false">{{ i18n "pages.inbounds.certificateContent"}}</a-radio-button>
</a-radio-group>
<a-button v-if="index === 0" type="primary" size="small"
@click="inbound.stream.xtls.addCert()" style="margin-left: 10px">+</a-button>
Expand Down Expand Up @@ -259,8 +257,9 @@
<tr>
<td></td>
<td>
<a-button type="primary" icon="import" @click="setDefaultCertData(index)">{{ i18n
"pages.inbounds.setDefaultCert" }}</a-button>
<a-button type="primary" icon="import" @click="setDefaultCertXtls(index)">
{{ i18n "pages.inbounds.setDefaultCert" }}
</a-button>
</td>
</tr>
</template>
Expand Down
2 changes: 1 addition & 1 deletion web/html/xui/xray_reverse_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<a-form layout="inline">
<table width="100%" class="ant-table-tbody">
<tr>
<td>{{ i18n "pages.xray.outbound.type" }}</td>
<td style="width: 30%;" >{{ i18n "pages.xray.outbound.type" }}</td>
<td>
<a-form-item>
<a-select v-model="reverseModal.reverse.type" style="width: 250px;" :dropdown-class-name="themeSwitcher.currentTheme">
Expand Down

0 comments on commit 4b89476

Please sign in to comment.