配置文件升级+修改(重要更新!)
This commit is contained in:
21
U8Server/appsettings.json
Normal file
21
U8Server/appsettings.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"NacosConfig": {
|
||||
"Listeners": [
|
||||
{
|
||||
"Optional": false,
|
||||
"DataId": "U8ServerConfig",
|
||||
"Group": "DEFAULT_GROUP"
|
||||
}
|
||||
],
|
||||
// 服务注册必填参数
|
||||
"ServerAddresses": [ "http://127.0.0.1:8848" ], // Nacos 服务器地址
|
||||
"Namespace": ""// 命名空间(默认 public)
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
Reference in New Issue
Block a user