Skip to content

Commit

Permalink
Add option in program (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Atralupus authored Mar 15, 2024
1 parent 1082bf6 commit 4a576ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NineChroniclesUtilBackend/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

builder.Services.Configure<HeadlessStateServiceOption>(builder.Configuration.GetRequiredSection("StateService"));
builder.Services.Configure<DatabaseOption>(builder.Configuration.GetRequiredSection("Database"));
builder.Services.Configure<EmptyChronicleOption>(builder.Configuration.GetRequiredSection("EmptyChronicle"));
builder.Services.ConfigureHttpJsonOptions(options =>
options.SerializerOptions.Converters.Add(new JsonStringEnumConverter()));

Expand Down

0 comments on commit 4a576ab

Please sign in to comment.