mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-08 07:50:28 +08:00
全站防护改为5秒盾(商业版可用)
This commit is contained in:
@@ -259,7 +259,7 @@ func (this *ServerHelper) createSettingsMenu(secondMenuItem string, serverIdStri
|
||||
})
|
||||
|
||||
menuItems = append(menuItems, maps.Map{
|
||||
"name": "全站防护",
|
||||
"name": "5秒盾",
|
||||
"url": "/servers/server/settings/uam?serverId=" + serverIdString,
|
||||
"isActive": secondMenuItem == "uam",
|
||||
"isOn": serverConfig.UAM != nil && serverConfig.UAM.IsOn,
|
||||
|
||||
@@ -6183,7 +6183,7 @@ Vue.component("uam-config-box", {
|
||||
<input type="hidden" name="uamJSON" :value="JSON.stringify(config)"/>
|
||||
<table class="ui table definition selectable">
|
||||
<tr>
|
||||
<td class="title">启用全站防护</td>
|
||||
<td class="title">启用5秒盾</td>
|
||||
<td>
|
||||
<checkbox v-model="config.isOn"></checkbox>
|
||||
<p class="comment">启用后,访问网站时,自动检查浏览器环境,阻止非正常访问。</p>
|
||||
|
||||
@@ -16,7 +16,7 @@ Vue.component("uam-config-box", {
|
||||
<input type="hidden" name="uamJSON" :value="JSON.stringify(config)"/>
|
||||
<table class="ui table definition selectable">
|
||||
<tr>
|
||||
<td class="title">启用全站防护</td>
|
||||
<td class="title">启用5秒盾</td>
|
||||
<td>
|
||||
<checkbox v-model="config.isOn"></checkbox>
|
||||
<p class="comment">启用后,访问网站时,自动检查浏览器环境,阻止非正常访问。</p>
|
||||
|
||||
Reference in New Issue
Block a user