Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
cubicgraphics committed May 11, 2024
1 parent 619b3ee commit e24f7c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
.AddOptions()
.Configure<StatusConfiguration>(hostBuilderContext.Configuration.GetSection("Status"))
.Configure<QuickplayConfiguration>(hostBuilderContext.Configuration.GetSection("Quickplay"))
.Configure<InfoConfiguration>(hostBuilderContext.Configuration.GetSection("Info"))
.AddControllers()
.AddNewtonsoftJson(options =>
{
Expand Down
6 changes: 2 additions & 4 deletions appsettings.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"Info": {
"Status": {
"MinimumAppVersion": "1.35.0",
"ServerDisplayName": "BeatTogether server",
"ServerDescription": "",
"ServerImageUrl": "",
"MaxPlayers": 30,
"ServerSupportsPPModifiers": true,
"ServerSupportsPPDifficulties": true,
"ServerSupportsPPMaps": false
}
"Status": {
"MinimumAppVersion": "1.35.0"
},
"Quickplay": {
"PredefinedPacks": [
Expand Down

0 comments on commit e24f7c2

Please sign in to comment.