mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-26 20:40:24 +08:00
优化代码/自动去除域名中的http://和https://等,防止误填
This commit is contained in:
@@ -44,6 +44,9 @@ Vue.component("plan-bandwidth-ranges", {
|
||||
return -1
|
||||
}
|
||||
if (v1.minMB == v2.minMB) {
|
||||
if (v2.maxMB == 0 || v1.maxMB < v2.maxMB) {
|
||||
return -1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
return 1
|
||||
|
||||
@@ -183,7 +183,7 @@ Vue.component("reverse-proxy-box", {
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-show="family == null || family == 'http'">
|
||||
<td>回源主机名不包含端口</td>
|
||||
<td>回源主机名移除端口</td>
|
||||
<td><checkbox v-model="reverseProxyConfig.requestHostExcludingPort"></checkbox>
|
||||
<p class="comment">选中后表示移除回源主机名中的端口部分。</p>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user