Merge branch 'main' into kub-stage
This commit is contained in:
@@ -6,6 +6,7 @@ using Microsoft.AspNetCore.Server.Kestrel.Core;
|
||||
using Serilog;
|
||||
using Serilog.Core;
|
||||
using Microsoft.OpenApi.Models;
|
||||
using BackOffice.BFF.WebApi.Common.Authorization;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
|
||||
@@ -37,6 +38,7 @@ builder.Services.AddGrpc(options =>
|
||||
options.EnableDetailedErrors = true;
|
||||
options.MaxReceiveMessageSize = 1000 * 1024 * 1024; // 1 GB
|
||||
options.MaxSendMessageSize = 1000 * 1024 * 1024; // 1 GB
|
||||
options.Interceptors.Add<PermissionInterceptor>();
|
||||
}).AddJsonTranscoding();
|
||||
builder.Services.AddInfrastructureServices(builder.Configuration);
|
||||
builder.Services.AddApplicationServices();
|
||||
|
||||
Reference in New Issue
Block a user