Added YARP reverse proxy for API routing and DevExpress Blazor components for advanced UI features, including PDF Viewer. Updated `EnvelopeGenerator.WebUI.csproj` to include necessary packages and ensure `yarp.json` is copied to the output directory. Modified `Program.cs` to configure YARP and DevExpress services, and adjusted the HTTP pipeline for proper routing. Updated `appsettings.json` with `ApiOptions` and `PdfViewerOptions`. Added `yarp.json` to define reverse proxy routes and clusters.
19 lines
341 B
JSON
19 lines
341 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ApiOptions": {
|
|
"BaseUrl": ""
|
|
},
|
|
"PdfViewerOptions": {
|
|
"ThumbnailBaseScale": 0.75,
|
|
"ThumbnailEnableHiDPI": true,
|
|
"MainCanvasEnableHiDPI": true,
|
|
"ZoomStepPercentage": 5
|
|
}
|
|
}
|