- Updated `AuthenticationController` to return user data instead of token. - Added `ITargetService` and `ITargetRepository` to `Program.cs`. - Enhanced `appsettings.json` with connection timeout and security notes. - Modified `IAuthService` to reflect new authentication response structure. - Implemented connection retry mechanism in `DataAccess.cs`. - Refactored UI components to use MUI styling in `Layout.tsx`, `App.tsx`, and others. - Created new files for target management, including `TargetsController`, `TargetUpdateDto`, and related services. - Added `TargetEdit` modal for editing target details and `LineChartSample` for data visualization. - Updated package dependencies in `package-lock.json` and project file.
19 lines
968 B
JSON
19 lines
968 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Jwt": {
|
|
"Secret": "Z9R5aFml+eRMeb7tyf8N9wCq3tZpS/EM6nGqOxlXPtOw4cJ3zS1AByczrIlD5F9d"
|
|
},
|
|
"AppCode": "MassEmailReactApi",
|
|
"EnvironmentCode": "UAT",
|
|
"ConnectionStrings": {
|
|
"Marketing.ConnectionString": "data source=uat.surge365.com;initial catalog=Marketing;User ID=ytb;Password=YTB()nl!n3;Encrypt=yes;TrustServerCertificate=yes;Connection Timeout=3;Application Name=##application_name##;", //TODO: Move this to development.json, on server should go somewhere secure. GET IT OUT OF GIT
|
|
"MassEmail.ConnectionString": "data source=uat.surge365.com;initial catalog=MassEmail;User ID=ytb;Password=YTB()nl!n3;Encrypt=yes;TrustServerCertificate=yes;Connection Timeout=3;Application Name=##application_name##;" //TODO: Move this to development.json, on server should go somewhere secure. GET IT OUT OF GIT
|
|
}
|
|
}
|