mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:03:27 +08:00
【优化】移除appsettings.json弃用的限流节点。
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
"EnableAllIPs": false, //是否应用所有的IP,如设置为true,则取消跨域限制
|
"EnableAllIPs": false, //是否应用所有的IP,如设置为true,则取消跨域限制
|
||||||
// 支持多个域名端口,注意端口号后不要带/斜杆:比如localhost:8000/,是错的
|
// 支持多个域名端口,注意端口号后不要带/斜杆:比如localhost:8000/,是错的
|
||||||
// 注意,http://127.0.0.1:1818 和 http://localhost:1818 是不一样的
|
// 注意,http://127.0.0.1:1818 和 http://localhost:1818 是不一样的
|
||||||
"IPs": "http://127.0.0.1:2364,http://localhost:2364"
|
"IPs": "http://127.0.0.1:4000,http://127.0.0.1:5000,http://127.0.0.1:6000,http://localhost:4000,http://localhost:5000,http://localhost:6000"
|
||||||
},
|
},
|
||||||
//中间件
|
//中间件
|
||||||
"Middleware": {
|
"Middleware": {
|
||||||
@@ -57,10 +57,6 @@
|
|||||||
//记录IP请求数据
|
//记录IP请求数据
|
||||||
"IPLog": {
|
"IPLog": {
|
||||||
"Enabled": false
|
"Enabled": false
|
||||||
},
|
|
||||||
//开启Ip限流
|
|
||||||
"IpRateLimit": {
|
|
||||||
"Enabled": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//UseRateLimiter限流中间件配置
|
//UseRateLimiter限流中间件配置
|
||||||
|
|||||||
@@ -128,7 +128,7 @@
|
|||||||
<td>基于框架</td>
|
<td>基于框架</td>
|
||||||
<td>
|
<td>
|
||||||
<script type="text/html" template>
|
<script type="text/html" template>
|
||||||
Asp.Net 7
|
Asp.Net 8.0
|
||||||
</script>
|
</script>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
"EnableAllIPs": false, //是否应用所有的IP,如设置为true,则取消跨域限制
|
"EnableAllIPs": false, //是否应用所有的IP,如设置为true,则取消跨域限制
|
||||||
// 支持多个域名端口,注意端口号后不要带/斜杆:比如localhost:8000/,是错的
|
// 支持多个域名端口,注意端口号后不要带/斜杆:比如localhost:8000/,是错的
|
||||||
// 注意,http://127.0.0.1:1818 和 http://localhost:1818 是不一样的
|
// 注意,http://127.0.0.1:1818 和 http://localhost:1818 是不一样的
|
||||||
"IPs": "http://127.0.0.1:2364,http://localhost:2364"
|
"IPs": "http://127.0.0.1:4000,http://127.0.0.1:5000,http://127.0.0.1:6000,http://localhost:4000,http://localhost:5000,http://localhost:6000"
|
||||||
},
|
},
|
||||||
//中间件
|
//中间件
|
||||||
"Middleware": {
|
"Middleware": {
|
||||||
@@ -57,10 +57,6 @@
|
|||||||
//记录IP请求数据
|
//记录IP请求数据
|
||||||
"IPLog": {
|
"IPLog": {
|
||||||
"Enabled": false
|
"Enabled": false
|
||||||
},
|
|
||||||
//开启Ip限流
|
|
||||||
"IpRateLimit": {
|
|
||||||
"Enabled": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//UseRateLimiter限流中间件配置
|
//UseRateLimiter限流中间件配置
|
||||||
|
|||||||
Reference in New Issue
Block a user