Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/xui/form/outbound.html')
-rw-r--r--web/html/xui/form/outbound.html14
1 files changed, 1 insertions, 13 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html
index 0718d4ed..20adb535 100644
--- a/web/html/xui/form/outbound.html
+++ b/web/html/xui/form/outbound.html
@@ -72,21 +72,9 @@
</template>
<a-input v-model.trim="outbound.settings.address"></a-input>
</a-form-item>
- <a-form-item>
- <template slot="label">
- <a-tooltip>
- <template slot="title">
- <span>{{ i18n "reset" }}</span>
- </template>
- {{ i18n "pages.xray.wireguard.secretKey" }}
- <a-icon type="sync" @click="[outbound.settings.pubKey, outbound.settings.secretKey] = Object.values(Wireguard.generateKeypair())"></a-icon>
- </a-tooltip>
- </template>
+ <a-form-item label='{{ i18n "pages.xray.wireguard.secretKey" }}'>
<a-input v-model.trim="outbound.settings.secretKey"></a-input>
</a-form-item>
- <a-form-item label='{{ i18n "pages.xray.wireguard.publicKey" }}'>
- <a-input disabled v-model="outbound.settings.pubKey"></a-input>
- </a-form-item>
<a-form-item label='{{ i18n "pages.xray.wireguard.domainStrategy" }}'>
<a-select v-model="outbound.settings.domainStrategy" :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option v-for="wds in ['', ...WireguardDomainStrategy]" :value="wds">[[ wds ]]</a-select-option>