Add editor config and apply code cleanup
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-15 09:36:52 +02:00
parent 7d6f85db82
commit 4bf07b0972
11 changed files with 516 additions and 249 deletions

View File

@@ -3,9 +3,7 @@ using FluentValidation;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.Options;
using System.Diagnostics;
using System.Globalization;
using System.Reflection;
using Microsoft.AspNetCore.Localization;
using Vegasco.Server.Api.Authentication;
using Vegasco.Server.Api.Common;
using Vegasco.Server.Api.Persistence;
@@ -51,7 +49,7 @@ public static class DependencyInjectionExtensions
services.AddHttpContextAccessor();
services.AddHostedService<ApplyMigrationsService>();
services.AddRequestLocalization(o =>
{
string[] cultures =
@@ -61,7 +59,7 @@ public static class DependencyInjectionExtensions
"de-DE",
"de"
];
o.SetDefaultCulture(cultures[0])
.AddSupportedCultures(cultures)
.AddSupportedUICultures(cultures);