chore(tooling): configure appsettings and launchsettings
This commit is contained in:
parent
4a6bca20bc
commit
eb8c304020
3 changed files with 62 additions and 37 deletions
|
@ -4,8 +4,8 @@
|
|||
"windowsAuthentication": false,
|
||||
"anonymousAuthentication": true,
|
||||
"iisExpress": {
|
||||
"applicationUrl": "http://localhost:7739",
|
||||
"sslPort": 44309
|
||||
"applicationUrl": "http://localhost:48070",
|
||||
"sslPort": 44382
|
||||
}
|
||||
},
|
||||
"profiles": {
|
||||
|
@ -13,7 +13,8 @@
|
|||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "http://localhost:5123",
|
||||
"launchUrl": "swagger",
|
||||
"applicationUrl": "http://localhost:5150",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
|
@ -22,7 +23,8 @@
|
|||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "https://localhost:7268;http://localhost:5123",
|
||||
"launchUrl": "swagger",
|
||||
"applicationUrl": "https://localhost:7047;http://localhost:5150",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
|
@ -30,9 +32,10 @@
|
|||
"IIS Express": {
|
||||
"commandName": "IISExpress",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "swagger",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
"Default": "Trace"
|
||||
}
|
||||
},
|
||||
"Configuration": {
|
||||
// DO NOT USE THIS AUTHTOKEN IN PRODUCTION!!!
|
||||
"AuthToken": "hi",
|
||||
"UseSentry": false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,8 +2,26 @@
|
|||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
"Microsoft.AspNetCore.HttpLogging.HttpLoggingMiddleware": "Information"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
"AllowedHosts": "*",
|
||||
"Configuration": {
|
||||
"AuthToken": "CHANGE-ME",
|
||||
"UseSwagger": true,
|
||||
"LogRequests": true,
|
||||
"UseSentry": true
|
||||
},
|
||||
"Sentry": {
|
||||
"Dsn": "https://92b5c863371d9362c50a39b3faccd26d@sentry.csw.im/5",
|
||||
"SendDefaultPii": true,
|
||||
"MaxRequestBodySize": "Always",
|
||||
"MinimumBreadcrumbLevel": "Debug",
|
||||
"MinimumEventLevel": "Warning",
|
||||
"AttachStackTrace": true,
|
||||
"Debug": true,
|
||||
"DiagnosticLevel": "Error",
|
||||
"TracesSampleRate": 1.0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue