You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/UserCenter/appsettings.json

35 lines
857 B

{
"version": "1.0.0-beta.104",
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"UseMiniProfiler": false,
"ConnectionStrings": {
"database.mysql.connection": "Server=127.0.0.1;Port=3306;Database=usercenter;Uid=root;Pwd=root;",
"database.sqlite.connection": "Data Source=usercenter.db"
},
"AppSettings": {
"database": "sqlite",
"UseCookieSessionStore": false
},
//Ocelot config
"GlobalConfiguration": {
"BaseUrl": "http://192.168.3.83:8000/"
},
"ReRoutes": [
{
"DownstreamPathTemplate": "/api/{version}/{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "192.168.3.83",
"Port": 8001
}
],
"UpstreamPathTemplate": "/api/{version}/iot/{everything}",
"UpstreamHttpMethod": [ "Get" ]
}
]
}