This commit is contained in:
MeysamMoghaddam
2025-09-28 05:36:45 +03:30
parent d073995e02
commit 2352b7ca17
7 changed files with 116 additions and 100 deletions

View File

@@ -1,3 +1,4 @@
using FluentValidation;
using FrontOffice.Main.Utilities;
var builder = WebApplication.CreateBuilder(args);
@@ -16,7 +17,11 @@ builder.Services.AddCommonServices();
builder.Services.AddGrpcServices(builder.Configuration);
#endregion
#region FluentValidation
ValidatorOptions.Global.LanguageManager = new CustomFluentValidationLanguageManager();
#endregion
var appSettings = builder.Configuration.Get<AppSettings>();
UrlUtility.DownloadUrl = appSettings.DownloadUrl;