Skip to content

Commit

Permalink
Added appsettings.Development.json to ignore list, removed CultureInf…
Browse files Browse the repository at this point in the history
…o.InvariantCulture forcing
  • Loading branch information
Aragas committed Jun 7, 2023
1 parent 603130a commit 637b98c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -350,3 +350,4 @@ MigrationBackup/
.ionide/
docker-compose/docker-compose.override.yml
/src/P3D.Legacy.Server/database.litedb
/src/P3D.Legacy.Server/appsettings.Development.json
9 changes: 1 addition & 8 deletions src/P3D.Legacy.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,13 @@
using P3D.Legacy.Server.Statistics.Extensions;

using System;
using System.Diagnostics;
using System.Globalization;
using System.Threading.Tasks;

namespace P3D.Legacy.Server
{
public static class Program
{
public static Task Main(string[] args)
{
CultureInfo.CurrentCulture = CultureInfo.InvariantCulture;
CultureInfo.CurrentUICulture = CultureInfo.InvariantCulture;
return CreateHostBuilder(args).Build().RunAsync();
}
public static Task Main(string[] args) => CreateHostBuilder(args).Build().RunAsync();

public static IHostBuilder CreateHostBuilder(string[] args) => Host
.CreateDefaultBuilder(args)
Expand Down

0 comments on commit 637b98c

Please sign in to comment.